Commit 21b0ef71 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 51003bbd a5562f8d
# 开发环境配置 # 开发环境配置
NODE_ENV = development NODE_ENV = development
#VUE_APP_API_BASE_URL=http://192.168.0.98:11078 VUE_APP_API_BASE_URL=http://192.168.0.98:11078
VUE_APP_API_IMG_URL = http://192.168.0.98:11078/
#宜宾 #宜宾
VUE_APP_API_BASE_URL=http://10.12.185.213:11072 #VUE_APP_API_BASE_URL=http://10.12.185.213:11072
#VUE_APP_API_IMG_URL = http://10.12.185.213:11072/
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
NODE_ENV = production NODE_ENV = production
VUE_APP_API_BASE_URL=/basics_api VUE_APP_API_BASE_URL=/basics_api
VUE_APP_API_IMG_URL = /
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title> <title>
<%= htmlWebpackPlugin.options.title %> 智慧大厅综合管理系统
</title> </title>
<style> <style>
*, *,
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
mixins: [menu], mixins: [menu],
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL + "/", api: process.env.VUE_APP_API_IMG_URL,
menuPermission: [], menuPermission: [],
}; };
}, },
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
mixins: [menu], mixins: [menu],
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL + "/", api: process.env.VUE_APP_API_IMG_URL,
siteId: "", siteId: "",
siteModelList: [], // 站点编排列表 siteModelList: [], // 站点编排列表
}; };
......
...@@ -140,8 +140,8 @@ ...@@ -140,8 +140,8 @@
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
<template slot="footer"> <template slot="footer">
<a-button type="primary" @click="Modal_Ok">确定</a-button>
<a-button @click="resetForm">重置</a-button> <a-button @click="resetForm">重置</a-button>
<a-button type="primary" @click="Modal_Ok">确定</a-button>
</template> </template>
</a-modal> </a-modal>
</div> </div>
...@@ -154,6 +154,7 @@ export default { ...@@ -154,6 +154,7 @@ export default {
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL + "/", api: process.env.VUE_APP_API_BASE_URL + "/",
api2: process.env.VUE_APP_API_IMG_URL,
EditModalLoading: false, //确定回调 loading EditModalLoading: false, //确定回调 loading
compileInfoForm: { compileInfoForm: {
name: "", name: "",
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
name: "PortalAdminVueMenuMgmt", name: "PortalAdminVueMenuMgmt",
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL + "/", api: process.env.VUE_APP_API_IMG_URL,
EditModalVisible: false, EditModalVisible: false,
searchForm: { searchForm: {
name: undefined, name: undefined,
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
</a-form-model-item> </a-form-model-item>
</a-form-model> </a-form-model>
<template slot="footer"> <template slot="footer">
<a-button type="primary" @click="roleEditModal_Ok">确定</a-button>
<a-button @click="resetForm">重置</a-button> <a-button @click="resetForm">重置</a-button>
<a-button type="primary" @click="roleEditModal_Ok">确定</a-button>
</template> </template>
</a-modal> </a-modal>
</div> </div>
......
...@@ -47,9 +47,7 @@ import Storage from "@/utils/js/Storage"; ...@@ -47,9 +47,7 @@ import Storage from "@/utils/js/Storage";
export default { export default {
data() { data() {
return { return {
api: process.env.VUE_APP_API_BASE_URL.includes("zwfw") api: process.env.VUE_APP_API_IMG_URL,
? process.env.VUE_APP_API_BASE_URL.replace("zwfw", "")
: process.env.VUE_APP_API_BASE_URL + "/",
platformPermission: [], platformPermission: [],
}; };
}, },
......
...@@ -20,7 +20,7 @@ module.exports = defineConfig({ ...@@ -20,7 +20,7 @@ module.exports = defineConfig({
transpileDependencies: true, transpileDependencies: true,
lintOnSave: false, lintOnSave: false,
// 打包目录--多加一层dist打zip时候把dist外壳打进去 // 打包目录--多加一层dist打zip时候把dist外壳打进去
outputDir: "dist/dist", outputDir: "dist",
configureWebpack: { configureWebpack: {
plugins: [...plugins], plugins: [...plugins],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment