题库图片替换

master
zcx 7 months ago
parent 779b6c9eba
commit 767ec44bba
  1. 4
      src/views/question/index.vue
  2. 4
      vue.config.js

@ -117,10 +117,10 @@ export default {
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
if (this.queryParams.question) { if (this.queryParams.question || (this.queryParams.isWatermark != undefined && this.queryParams.isWatermark)) {
this.getList(); this.getList();
} else { } else {
this.$modal.msgWarning('请输入题目'); this.$modal.msgWarning('请输入题目 ');
} }
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */

@ -34,8 +34,8 @@ module.exports = {
open: true, open: true,
proxy: { proxy: {
[process.env.VUE_APP_BASE_API + '/xunjia']: { [process.env.VUE_APP_BASE_API + '/xunjia']: {
// target: `http://118.31.23.45:8888/driver-api/`, target: `http://localhost:8889/driver-api/`,
target: `https://xueche.ahduima.com/duima/xunjia/`, // target: `https://xueche.ahduima.com/duima/xunjia/`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API + '/xunjia']: '' ['^' + process.env.VUE_APP_BASE_API + '/xunjia']: ''

Loading…
Cancel
Save