diff --git a/config.js b/config.js index a4ffbc1..6419d1c 100644 --- a/config.js +++ b/config.js @@ -2,9 +2,9 @@ * 小程序配置文件 */ // 此处主机域名修改成腾讯云解决方案分配的域名 -// var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 +var host = 'http://121.42.63.138:9091/autoSR/api'; // 测试站 // var host = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 -var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 +// var host = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // var host = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // var host = 'https://zkgj.quhouse.com/api'; // 质控正式 // var host = 'https://hfju.com/api'; // 数智正式 diff --git a/pages/mine/details.vue b/pages/mine/details.vue index b2b154a..7684ee4 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -855,7 +855,9 @@ }) this.changanitem = item; this.duihuawenjianid = this.luyinList[this.csdFileindex].id; - this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow + this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow; + let onebest=item.onebest; + this.thewrongword =onebest.replace(/<.*?>/ig,""); this.thewrongword = item.onebest; this.messagelisy = this.dialogList[i].message console.log(this.dialogList[i], "长按触发") diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 8c06be1..638930a 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -1416,10 +1416,12 @@ }) this.changanitem = item; this.duihuawenjianid = this.luyinList[this.csdFileindex].id; - this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow - this.thewrongword = item.onebest; + this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow; + let onebest=item.onebest; + this.thewrongword =onebest.replace(/<.*?>/ig,""); this.messagelisy = this.dialogList[i].message console.log(this.dialogList[i], "长按触发") + }, //回到顶部 gotoTop() { diff --git a/utils/http.js b/utils/http.js index e58e95f..d9610ae 100644 --- a/utils/http.js +++ b/utils/http.js @@ -1,7 +1,7 @@ -// const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 +const baseUrl = 'http://121.42.63.138:9091/autoSR/api';// 测试站 // const baseUrl = 'http://192.168.31.169:8080/autoSR/api'; // 长龙 -const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 +// const baseUrl = 'http://192.168.31.134:8080/autoSR/api'; // 佳豪 // const baseUrl = 'http://10.2.1.104:8081/autoSR/api'; // 刘敏 // const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式 // const baseUrl = 'https://hfju.com/api'; // 数智正式