init
This commit is contained in:
@@ -34,7 +34,11 @@
|
|||||||
|
|
||||||
<el-table v-loading="loading" :data="userBannerList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="userBannerList" @selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="轮播" align="center" prop="banner" />
|
<el-table-column label="轮播" align="center" prop="banner" >
|
||||||
|
<template v-slot="scope">
|
||||||
|
<image-preview :src="scope.row.banner" :height="75" :width="120"/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" prop="enableStatus">
|
<el-table-column label="状态" align="center" prop="enableStatus">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<cai-dict-tag :options="enableStatusList" :value="scope.row.enableStatus"/>
|
<cai-dict-tag :options="enableStatusList" :value="scope.row.enableStatus"/>
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://localhost:8080`,
|
target: `http://localhost:8080`,
|
||||||
target: `http://xq-admin.mubai8888.com/prod-api`,
|
// target: `http://xq-admin.mubai8888.com/prod-api`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user