From 9c1e4ba1b5c035f9f286f0600373cc004558e277 Mon Sep 17 00:00:00 2001 From: wangqing Date: Fri, 27 Nov 2020 18:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8A=9F=E8=83=BD=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 1 + src/views/form/ProjectForm.vue | 16 +++- src/views/form/theme.vue | 158 ++++++++++++++++++++++++++------- src/views/official/index.vue | 2 +- 4 files changed, 140 insertions(+), 37 deletions(-) diff --git a/src/main.js b/src/main.js index 6107c41..4e3b3c8 100644 --- a/src/main.js +++ b/src/main.js @@ -14,6 +14,7 @@ import '@/components/autoRegister' Vue.prototype.$api = api Vue.prototype.$dayjs = dayjs +Vue.prototype.$store = store Vue.prototype.$cookies = Cookies Vue.prototype.msgSuccess = function(msg) { this.$message({ showClose: true, message: msg, type: 'success' }) diff --git a/src/views/form/ProjectForm.vue b/src/views/form/ProjectForm.vue index 1f3e47a..61fb106 100644 --- a/src/views/form/ProjectForm.vue +++ b/src/views/form/ProjectForm.vue @@ -1,6 +1,10 @@