修改代码配置环境
This commit is contained in:
parent
81ae8bce02
commit
02a7105f26
6
.env.dev
6
.env.dev
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
|
|
||||||
# 环境
|
# 环境
|
||||||
NODE_ENV=production
|
NODE_ENV=dev
|
||||||
VUE_APP_ENV='prod'
|
VUE_APP_ENV='dev'
|
||||||
|
|
||||||
# 页面 title
|
# 页面 title
|
||||||
VUE_APP_TITLE=CRMEB
|
VUE_APP_TITLE=CRMEB
|
||||||
# 接口请求地址
|
# 接口请求地址
|
||||||
VUE_APP_API_URL='http://naweigetetest2.hschool.com.cn/adminapi'
|
VUE_APP_API_URL='https://www.navigatortrades.com/adminapi'
|
||||||
|
@ -6,4 +6,4 @@ VUE_APP_ENV='production'
|
|||||||
VUE_APP_TITLE=CRMEB
|
VUE_APP_TITLE=CRMEB
|
||||||
|
|
||||||
# 接口请求地址
|
# 接口请求地址
|
||||||
VUE_APP_API_URL=""
|
VUE_APP_API_URL="https://www.navigatortrades.com/adminapi"
|
||||||
|
@ -71,11 +71,11 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="关联商品" min-width="130">
|
<!-- <el-table-column label="关联商品" min-width="130">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.store_name }}</span>
|
<span>{{ scope.row.store_name }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column label="浏览量" min-width="80">
|
<el-table-column label="浏览量" min-width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.visit }}</span>
|
<span>{{ scope.row.visit }}</span>
|
||||||
@ -89,10 +89,10 @@
|
|||||||
<el-table-column label="操作" fixed="right" width="170">
|
<el-table-column label="操作" fixed="right" width="170">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="edit(scope.row)">编辑</a>
|
<a @click="edit(scope.row)">编辑</a>
|
||||||
<el-divider direction="vertical"></el-divider>
|
<!-- <el-divider direction="vertical"></el-divider> -->
|
||||||
<a @click="artRelation(scope.row, '取消关联', index)">{{
|
<!-- <a @click="artRelation(scope.row, '取消关联', index)">{{
|
||||||
scope.row.product_id === 0 ? '关联' : '取消关联'
|
scope.row.product_id === 0 ? '关联' : '取消关联'
|
||||||
}}</a>
|
}}</a> -->
|
||||||
<el-divider direction="vertical"></el-divider>
|
<el-divider direction="vertical"></el-divider>
|
||||||
<a @click="del(scope.row, '删除文章', scope.$index)">删除</a>
|
<a @click="del(scope.row, '删除文章', scope.$index)">删除</a>
|
||||||
</template>
|
</template>
|
||||||
|
@ -21,7 +21,7 @@ import settings from '@/setting';
|
|||||||
import crud from './modules/crud';
|
import crud from './modules/crud';
|
||||||
import cases from './modules/case';
|
import cases from './modules/case';
|
||||||
import process from './modules/case';
|
import process from './modules/case';
|
||||||
import shareList from './modules/shareList';
|
// import shareList from './modules/shareList';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ const frameIn = [
|
|||||||
crud,
|
crud,
|
||||||
cases,
|
cases,
|
||||||
process,
|
process,
|
||||||
shareList
|
// shareList
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -102,7 +102,7 @@ module.exports = {
|
|||||||
port: 1617, // 端口
|
port: 1617, // 端口
|
||||||
proxy: {
|
proxy: {
|
||||||
'/adminapi': {
|
'/adminapi': {
|
||||||
target: 'http://naweigetetest2.hschool.com.cn',
|
target: 'https://www.navigatortrades.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: { '^/adminapi': '/adminapi' },
|
pathRewrite: { '^/adminapi': '/adminapi' },
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user