diff --git a/.env.dr b/.env.dr index 1a454b4b..b7cc0f5d 100644 --- a/.env.dr +++ b/.env.dr @@ -30,7 +30,7 @@ VUE_APP_THEME_CLASS = 'theme-blue-black' #VUE_APP_THEME_CLASS = 'theme-blue-white' # 智慧用电管理系统/开发环境 -VUE_APP_BASE_API = '' +VUE_APP_BASE_API = '/dev-api' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true @@ -41,12 +41,13 @@ port= 9988 # 服务端地址 // 陈志荣 本地 // target = http://192.168.18.140:8899 -// 黄明 本地 -// target = http://192.168.18.134:8899 + //target = http://192.168.18.139:8899 // target = http://192.168.18.136:8899 // 测试端 // target = http://192.168.10.241:32024 // 开发端 - target = https://digital-core.drgyen.com +# target = https://digital-core.dieruen-iot.com +// 黄明 本地 +target = http://192.168.1.17:8899 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..7e65b807 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,15 @@ +{ +// "printWidth": 220, +// "tabWidth": 4, +// "useTabs": true, +// "semi": true, +// "singleQuote": true, +// "quoteProps": "as-needed", +// "trailingComma": "none", +// "bracketSpacing": true, +// "jsxBracketSameLine": false, +// "arrowParens": "avoid", +// "endOfLine": "lf", +// "jsxSingleQuote": false, +// "vueIndentScriptAndStyle": false +} diff --git a/src/config/env.js b/src/config/env.js index 8856deeb..5af8fad1 100644 --- a/src/config/env.js +++ b/src/config/env.js @@ -10,7 +10,7 @@ let prodApi = window.dasConfig.ip || '/prod-api'; let wsProtocol = 'ws://'; let iotWebSocketAlarmBaseUrl = '' let bigWebSocketUrl = '' -let port = '32024' +let port = '8899' let webSocketProjectGatewayUrl = '' let hrefHostUrl = ''; diff --git a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue index e3a080f4..37d28424 100644 --- a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue +++ b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue @@ -1,6 +1,6 @@