题库图片替换
This commit is contained in:
@@ -117,10 +117,10 @@ export default {
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
if (this.queryParams.question) {
|
||||
if (this.queryParams.question || (this.queryParams.isWatermark != undefined && this.queryParams.isWatermark)) {
|
||||
this.getList();
|
||||
} else {
|
||||
this.$modal.msgWarning('请输入题目');
|
||||
this.$modal.msgWarning('请输入题目 ');
|
||||
}
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
|
||||
@@ -34,8 +34,8 @@ module.exports = {
|
||||
open: true,
|
||||
proxy: {
|
||||
[process.env.VUE_APP_BASE_API + '/xunjia']: {
|
||||
// target: `http://118.31.23.45:8888/driver-api/`,
|
||||
target: `https://xueche.ahduima.com/duima/xunjia/`,
|
||||
target: `http://localhost:8889/driver-api/`,
|
||||
// target: `https://xueche.ahduima.com/duima/xunjia/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API + '/xunjia']: ''
|
||||
|
||||
Reference in New Issue
Block a user