实验提示

master
yujialong 4 years ago
parent e8b2cf1c9e
commit 3fa9208744
  1. 6
      src/components/TestPanel.vue
  2. 2
      src/utils/api.js

@ -111,7 +111,7 @@
</el-collapse-item>
</el-collapse>
</el-tab-pane>
<el-tab-pane label="实验提示" name="fifth" >
<el-tab-pane label="实验提示" name="fifth" v-if="isstartexperimentSuggests">
<div class="break-all" v-html="experimentSuggests"></div>
</el-tab-pane>
</el-tabs>
@ -204,7 +204,8 @@ export default {
isSelected: false,
userId: '',
workbenchCus: this.workbench,
isRecovery: false
isRecovery: false,
isstartexperimentSuggests: 1
};
},
watch: {
@ -486,6 +487,7 @@ export default {
let arr1 = this.tableData;
let result1 = arr1.map(e => e.judgmentPointsId);
this.judgmentPointsIds = this.judgmentPointsIds.concat(result1);
this.isstartexperimentSuggests = !res.message.project[0].isstartexperimentSuggests //01
if (this.projectPermissions == "1") {
this.text = "剩余";

@ -1,7 +1,7 @@
// let host = 'http://192.168.31.125:8081/python'//林
// let host = 'http://192.168.31.152:8081/python'//榕
let host = ''
if(location.host.includes('liuwanr.cn')){
if(location.host.includes('liuwanr.cn') || process.env.NODE_ENV === 'development'){
host = 'http://www.liuwanr.cn/python'
}else{
host = 'http://www.occupationlab.com/python'

Loading…
Cancel
Save