From 5ca40c8f14e504530f1ddcc1f1d05db50d22ec5c Mon Sep 17 00:00:00 2001 From: song Date: Wed, 2 Mar 2022 18:16:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ip=E5=9C=B0=E5=9D=80=EF=BC=9A?= =?UTF-8?q?=E7=94=B2=E6=96=B9=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/News/addOrEdit.vue | 6 +++--- src/components/News/detailContent.vue | 2 +- src/config.js | 3 ++- vue.config.js | 8 ++++---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/News/addOrEdit.vue b/src/components/News/addOrEdit.vue index 4f086c3..dc027fa 100644 --- a/src/components/News/addOrEdit.vue +++ b/src/components/News/addOrEdit.vue @@ -26,8 +26,8 @@ 视频新闻 - - + +
修改时间: {{ list.updatedAt ? $moment(list.updatedAt).format('YYYY-MM-DD') : '暂无' }}
新闻类型: {{ list.showType == 1 ? '图片新闻' : list.showType == 2 ? '视频新闻' : '普通新闻' }}
-
跳转路径: {{ list.jumpUrl }}
+
附件: {{ list.jumpUrl }}
正文:
diff --git a/src/config.js b/src/config.js index 4d61252..ab80f92 100644 --- a/src/config.js +++ b/src/config.js @@ -4,7 +4,8 @@ export const DEVICE_TYPE_BIG = "quxia-vm" export const client_id = 'test' export const client_secret = "test" // export const BASE_API = "https://rapapi.renqilai.com/app/mock/39"; -export const BASE_API = "https://test.tall.wiki/datang/v1.0"; +export const BASE_API = "http://10.119.190.12:8000/v1.0"; +// export const BASE_API = "https://test.tall.wiki/datang/v1.0"; export const pageSize = 20 export const SHELF_MAX_ROW=7 diff --git a/vue.config.js b/vue.config.js index 8f05335..75419d4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,16 +1,16 @@ // vue.config.js var path = require("path"); -const BASE_API = "https://test.tall.wiki/datang/v1.0" -const proxyUrl = '/datang/v1.0' +const BASE_API = "http://10.119.190.12:8000/v1.0" +const proxyUrl = '/v1.0' // const BASE_API = "https://test.tall.wiki/datang/v1.0" -// const proxyUrl = 'datang/v1.0' +// const proxyUrl = '/datang/v1.0' const port = 8080 module.exports = { - publicPath: '/manage', + publicPath: '/v1.0/manage', devServer: { open: true, overlay: {