fix: BUG修改

This commit is contained in:
kun 2024-05-24 00:46:51 +08:00
parent cccd9e7155
commit ae1c35a635
2 changed files with 13 additions and 3 deletions

View File

@ -84,8 +84,8 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈

View File

@ -858,7 +858,17 @@ export default {
this.getRecordList()
})
} else {
this.examForm.questions = this.$refs.questionListTable.selection;
// this.examForm.questions = this.$refs.questionListTable.selection;
console.log(this.examForm.questions,886633)
if(this.$refs.questionListTable){
this.examForm.questions = this.$refs.questionListTable.selection;
} else {
let arr = [];
this.examForm.questions.split(',').map(item => {
arr.push({id: item})
})
this.examForm.questions = arr;
}
let examInfo = {
checkQuestionType:this.examForm.checkQuestionType,
name:this.examForm.name,