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