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: {