From 767ec44bba78356ad4ba65f8d24e6f09c7b21413 Mon Sep 17 00:00:00 2001 From: zcx <377075991@qq.com> Date: Mon, 18 Mar 2024 11:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=98=E5=BA=93=E5=9B=BE=E7=89=87=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/question/index.vue | 4 ++-- vue.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/question/index.vue b/src/views/question/index.vue index a6d6905..2adf7ce 100644 --- a/src/views/question/index.vue +++ b/src/views/question/index.vue @@ -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('请输入题目 '); } }, /** 重置按钮操作 */ diff --git a/vue.config.js b/vue.config.js index 3a5e7d4..3ab35f9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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']: ''