From d64a9013bd33e026a94216f4bab8bcc215e26f5c Mon Sep 17 00:00:00 2001 From: song Date: Tue, 1 Mar 2022 15:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=EF=BC=8C=E8=B7=AF=E7=94=B1=E6=9B=B4=E6=96=B0=E6=97=B6=E5=AD=98?= =?UTF-8?q?code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - public/index.html | 1 - rest/大唐.http | 2 +- src/App.vue | 49 +++++++- src/components/Banner/index.vue | 1 - src/components/Breadcrumb/index.vue | 2 +- src/components/Detail/editor.vue | 4 +- src/components/Detail/index.vue | 4 +- src/components/Detail/wangEditor.min.js | 16 +++ src/components/News/detailContent.vue | 2 +- src/components/News/index.vue | 13 +- src/config.js | 2 +- src/router/menus/department.js | 161 ++++++++++++------------ src/views/lists/index.vue | 8 +- vue.config.js | 4 +- 15 files changed, 166 insertions(+), 104 deletions(-) create mode 100644 src/components/Detail/wangEditor.min.js diff --git a/package.json b/package.json index 7b692d6..f82f21b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "vue-video-player": "^5.0.2", "vuedraggable": "^2.20.0", "vuex": "^3.1.0", - "wangeditor": "^4.7.12", "xlsx": "^0.11.16" }, "devDependencies": { diff --git a/public/index.html b/public/index.html index 4fbb401..ee5840a 100644 --- a/public/index.html +++ b/public/index.html @@ -20,7 +20,6 @@ - diff --git a/rest/大唐.http b/rest/大唐.http index dec4896..09cda08 100644 --- a/rest/大唐.http +++ b/rest/大唐.http @@ -1,5 +1,5 @@ @dev = http://127.0.0.1:7270/v1.0/ -@test = http://10.119.190.12:8000/v1.0/ +@test = https://test.tall.wiki/datang/v1.0/ @www = http://www.tall.wiki/gateway/yanyuan/v2.0/ @type = content-type: application/json;charset=utf-8 diff --git a/src/App.vue b/src/App.vue index ebb3e42..7acf173 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,11 +5,54 @@ - - diff --git a/src/components/Banner/index.vue b/src/components/Banner/index.vue index 016db44..d822c18 100644 --- a/src/components/Banner/index.vue +++ b/src/components/Banner/index.vue @@ -130,7 +130,6 @@ }, created() { this.perList = this.$store.state.user.perList; - console.log('this.perList: ', this.perList); }, methods: { diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 2f8be70..4e71b68 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -35,7 +35,7 @@ export default { /* const first = matched[0] if (first && first.path.trim().toLocaleLowerCase() !== '/dashboard'.toLocaleLowerCase()) { matched = [{ path: '/dashboard', meta: { title: 'dashboard' }}].concat(matched) - } + } this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false) */ this.levelList =this.$route.matched diff --git a/src/components/Detail/editor.vue b/src/components/Detail/editor.vue index f196b85..abc54a6 100644 --- a/src/components/Detail/editor.vue +++ b/src/components/Detail/editor.vue @@ -4,7 +4,7 @@ -