From 9e75121a19381d7c1eb82618c5c0f347164ddce6 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 3 Apr 2023 11:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E7=BD=AE=E9=A1=B6=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 1 + src/layouts/header/index.vue | 2 +- src/pages/article/list/index.vue | 30 +++++++++++------------- src/pages/user/list/index.vue | 2 +- src/plugins/requests/index.js | 40 +++++++++++++++----------------- 5 files changed, 36 insertions(+), 39 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 9278fbe..043b725 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -76,4 +76,5 @@ export default { individualTemplateDetailsStyle: `iasf/template/individualTemplateDetailsStyle`, longPageListStyle: `iasf/template/longPageListStyle`, resort: `iasf/sysContent/sort`, + articleTopOperation: `iasf/sysContent/articleTopOperation`, } \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index d1c3f34..3144386 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -98,7 +98,7 @@ export default { // 前往站点首页 toIndex() { const { site } = this.$store.state.content - window.open((Setting.isDev ? `http://${location.hostname}:8095` : site.domainName) + `/#/column?siteId=${site.id}`) + window.open((Setting.isDev ? `http://${location.hostname}:8095/` : site.domainName) + `#/column?siteId=${site.id}`) }, // 站点切换回调 siteCommand(e) { diff --git a/src/pages/article/list/index.vue b/src/pages/article/list/index.vue index eb64b1a..3ebec88 100644 --- a/src/pages/article/list/index.vue +++ b/src/pages/article/list/index.vue @@ -39,18 +39,6 @@ - - - @@ -68,13 +56,18 @@ {{ scope.row.isRelease ? '已发布' : '草稿' }} - + + + +