题库图片替换

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

@ -117,7 +117,7 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
if (this.queryParams.question) {
if (this.queryParams.question || (this.queryParams.isWatermark != undefined && this.queryParams.isWatermark)) {
this.getList();
} else {
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']: ''

Loading…
Cancel
Save