diff --git a/vue-admin-wonderful-next/src/App.vue b/vue-admin-wonderful-next/src/App.vue index 6c0354a..cd1f17f 100644 --- a/vue-admin-wonderful-next/src/App.vue +++ b/vue-admin-wonderful-next/src/App.vue @@ -1128,9 +1128,7 @@ export default { ); } function onSwitchChange2() { - state.wart - ? Watermark.set("small@小柒") - : Watermark.del(); + state.wart ? Watermark.set("small@小柒") : Watermark.del(); } function open1() { proxy.$message.success({ diff --git a/vue-admin-wonderful-next/src/components/index.vue b/vue-admin-wonderful-next/src/components/index.vue new file mode 100644 index 0000000..3a0986e --- /dev/null +++ b/vue-admin-wonderful-next/src/components/index.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/vue-admin-wonderful-next/src/main.ts b/vue-admin-wonderful-next/src/main.ts index 14a1644..ee169f2 100644 --- a/vue-admin-wonderful-next/src/main.ts +++ b/vue-admin-wonderful-next/src/main.ts @@ -1,9 +1,10 @@ import { createApp } from 'vue' import App from './App.vue' -import ElementPlus from 'element-plus'; -import 'element-plus/lib/theme-chalk/index.css'; -import '/@/theme/index.scss'; +import ElementPlus from 'element-plus' +import 'element-plus/lib/theme-chalk/index.css' +import '/@/theme/index.scss' +import locale from 'element-plus/lib/locale/lang/zh-cn' -createApp(App).use(ElementPlus, { size: 'small' }).mount('#app') +createApp(App).use(ElementPlus, { size: 'small', locale }).mount('#app') diff --git a/vue-admin-wonderful-next/src/router/index.ts b/vue-admin-wonderful-next/src/router/index.ts new file mode 100644 index 0000000..060eb14 --- /dev/null +++ b/vue-admin-wonderful-next/src/router/index.ts @@ -0,0 +1 @@ +const dd: string = '' \ No newline at end of file diff --git a/vue-admin-wonderful-next/src/store/index.ts b/vue-admin-wonderful-next/src/store/index.ts new file mode 100644 index 0000000..ce37e47 --- /dev/null +++ b/vue-admin-wonderful-next/src/store/index.ts @@ -0,0 +1 @@ +const bb: string = '' \ No newline at end of file