保存进度!
This commit is contained in:
17
code/web/regulatory-management-util/src/AppMain.vue
Normal file
17
code/web/regulatory-management-util/src/AppMain.vue
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<!--
|
||||||
|
author: Kane Wang <wangkane@qq.com>
|
||||||
|
date: 2025-10-14 15:57:34
|
||||||
|
component: AppMain
|
||||||
|
Copyright © CPIC All rights reserved
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<router-view />
|
||||||
|
</template>
|
||||||
|
<script lang="ts">
|
||||||
|
export default {
|
||||||
|
name: "AppMain",
|
||||||
|
components: [],
|
||||||
|
setup() {},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="sass" scoped></style>
|
||||||
@@ -1,15 +1,17 @@
|
|||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
import { createApp, VueElement } from "vue";
|
import { createApp, VueElement } from "vue";
|
||||||
import "./style.css";
|
import "./style.css";
|
||||||
import App from "./App.vue";
|
// import App from "./App.vue";
|
||||||
|
import AppMain from "./AppMain.vue";
|
||||||
|
|
||||||
import ElementPlus from "element-plus";
|
import ElementPlus from "element-plus";
|
||||||
import "element-plus/dist/index.css";
|
import "element-plus/dist/index.css";
|
||||||
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
const app = createApp( App );
|
const app = createApp( AppMain );
|
||||||
|
|
||||||
app.use( ElementPlus );
|
app.use( ElementPlus );
|
||||||
|
app.mount( "#app" );
|
||||||
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
createApp( App ).mount( "#app" );
|
// createApp( App ).mount( "#app" );
|
||||||
|
|||||||
Reference in New Issue
Block a user