From a87a68dac61bd7a07803b66dfbe8c3c383d8db13 Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 19 Oct 2022 20:11:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=EF=BC=8C=E6=88=91=E7=9A=84=E7=AC=94=E8=AE=B0=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E8=B7=B3=E8=BD=AC=E8=AF=BE=E7=A8=8B=E5=AD=A6=E4=B9=A0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Noteedit.vue | 15 +++++++++++---- vue.config.js | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/views/user/Noteedit.vue b/src/views/user/Noteedit.vue index a8ec03c9..c9aa8bd6 100644 --- a/src/views/user/Noteedit.vue +++ b/src/views/user/Noteedit.vue @@ -8,8 +8,8 @@
-

{{ editdata.courseName }}

-
8:40
+

{{ editdata.courseName }}

+
8:40
@@ -64,13 +64,15 @@ export default { data () { return { imgContent:[], - fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, - isShowList:false, + fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, + isShowList:false, isShowTip:'', radio: '1', editdata:{ content:'', isAuto:false, + type:0, + courseId:'' }, histId:'', histdata:[], @@ -86,6 +88,11 @@ export default { },30000); }, methods:{ + toCoursePage(){ + if(this.editdata.type==1){ + this.$router.push('/course/detail?id='+this.editdata.courseId); + } + }, imgDel(index) { this.imgContent.splice(index,1); }, diff --git a/vue.config.js b/vue.config.js index 9d929436..721dca5c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -124,7 +124,7 @@ module.exports = { }, '/uboeApi': { // 目标代理服务器地址 - target: 'http://u-pre.boe1.com', + target: 'http://u-pre.boe.com', changeOrigin: true, secure: false, pathRewrite: {