diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 7cc370268..f84210e59 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -27,7 +27,7 @@ export function handlerUrl() { // BASE_API = 'https://joylink.club/jlcloud'; // BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://114.116.51.125/jlcloud'; - BASE_API = 'http://192.168.3.90:9000'; // 周寅 + // BASE_API = 'http://192.168.3.90:9000'; // 周寅 // BASE_API = 'http://192.168.3.94:9000'; // 旭强 // BASE_API = 'http://192.168.3.15:9000'; // 张赛 // BASE_API = 'http://192.168.3.5:9000'; // 夏增彬 diff --git a/src/views/publish/examRule/draft/editRule.vue b/src/views/publish/examRule/draft/editRule.vue index 2ab1abc8f..981dd30e5 100644 --- a/src/views/publish/examRule/draft/editRule.vue +++ b/src/views/publish/examRule/draft/editRule.vue @@ -32,7 +32,7 @@ > - + { - this.labels = [{ label: '无', value: '' }, ...resp.data.map(item => ({ label: item, value: item }))] + this.labels = [{ label: '无', value: '无' }, ...resp.data.map(item => ({ label: item, value: item }))] }) }, mounted() {}, @@ -153,7 +154,7 @@ export default { amount: detail.amount, score: detail.score, id: detail.id || '', - tags: detail.tags || '', + tags: detail.tags, } this.topicNum = detail.topicNum } else { @@ -180,7 +181,7 @@ export default { groupType: this.form.type, subType: this.form.subtype, } - if (this.form.tags) param.tags = [this.form.tags] + if (this.form.tags !== '无') param.tags = [this.form.tags] getQuestionAmount(param).then(resp => { this.topicNum = resp.data })