From 9e57ef99ca42a3173a990d9dca61a4e94e5b66dd Mon Sep 17 00:00:00 2001 From: lyt-Top <1105290566@qq.com> Date: Thu, 24 Dec 2020 23:35:43 +0800 Subject: [PATCH] =?UTF-8?q?'admin-20.12.24:=E4=BC=98=E5=8C=96=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=BB=98=E8=AE=A4=E8=8B=B1=E6=96=87=E9=97=AE=E9=A2=98?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue-admin-wonderful-next/src/App.vue | 4 +--- vue-admin-wonderful-next/src/components/index.vue | 3 +++ vue-admin-wonderful-next/src/main.ts | 9 +++++---- vue-admin-wonderful-next/src/router/index.ts | 1 + vue-admin-wonderful-next/src/store/index.ts | 1 + 5 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 vue-admin-wonderful-next/src/components/index.vue create mode 100644 vue-admin-wonderful-next/src/router/index.ts create mode 100644 vue-admin-wonderful-next/src/store/index.ts diff --git a/vue-admin-wonderful-next/src/App.vue b/vue-admin-wonderful-next/src/App.vue index 6c0354a9..cd1f17f4 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 00000000..3a0986e6 --- /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 14a16445..ee169f25 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 00000000..060eb147 --- /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 00000000..ce37e478 --- /dev/null +++ b/vue-admin-wonderful-next/src/store/index.ts @@ -0,0 +1 @@ +const bb: string = '' \ No newline at end of file