题库图片

master
qsh 8 months ago
parent 767ec44bba
commit 2b7d3ddf77
  1. 5
      src/views/question/index.vue
  2. 4
      vue.config.js

@ -60,6 +60,11 @@
{{ row.carTypeId == 1001 ? '小车' : '摩托车' }} {{ row.carTypeId == 1001 ? '小车' : '摩托车' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="图片" align="center" min-width="200">
<template slot-scope="{ row }">
<img :src="row.imageUrl" alt="" width="80px" srcset="">
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-download" @click="handleEdit(scope.row)">编辑</el-button> <el-button size="mini" type="text" icon="el-icon-download" @click="handleEdit(scope.row)">编辑</el-button>

@ -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://localhost:8889/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