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