diff --git a/.env.development b/.env.development index e2f4dee..92f4a96 100644 --- a/.env.development +++ b/.env.development @@ -1,14 +1,10 @@ +VUE_APP_ENV = '物业(测试)' + # just a flag -VUE_APP_ENV = '物业' -NODE_ENV = 'test' +NODE_ENV = 'production' # base api -VUE_APP_BASE_API = 'http://101.201.121.115:8092' - -# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, -# to control whether the babel-plugin-dynamic-import-node plugin is enabled. -# It only does one thing by converting all import() to require(). -# This configuration can significantly increase the speed of hot updates, -# when you have a large number of pages. - -VUE_CLI_BABEL_TRANSPILE_MODULES = true +# 玫苑 +# VUE_APP_BASE_API = 'http://101.201.121.115:8092' +# 和瑞 +VUE_APP_BASE_API = 'http://101.201.121.115:8094' \ No newline at end of file diff --git a/.env.production b/.env.production index 2bba6ab..92f4a96 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,10 @@ +VUE_APP_ENV = '物业(测试)' + # just a flag -VUE_APP_ENV = '物业' NODE_ENV = 'production' + # base api -#枚苑 -#VUE_APP_BASE_API = 'http://8.131.69.197:22000' -#和瑞 -VUE_APP_BASE_API = 'http://8.131.69.197:8094' +# 玫苑 +# VUE_APP_BASE_API = 'http://101.201.121.115:8092' +# 和瑞 +VUE_APP_BASE_API = 'http://101.201.121.115:8094' \ No newline at end of file diff --git a/package.json b/package.json index 7ae70a3..6445f45 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,7 @@ "dev": "vue-cli-service serve --open", "serve": "vue-cli-service serve --open", "build:prod": "vue-cli-service build", - "build:stage": "vue-cli-service build --mode staging", - "preview": "node build/index.js --preview", - "lint": "eslint --ext .js,.vue src", - "test:unit": "jest --clearCache && vue-cli-service test:unit", - "test:ci": "npm run lint && npm run test:unit", - "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", - "new": "plop" + "build:stage": "vue-cli-service build --mode staging" }, "husky": { "hooks": { diff --git a/src/components/receiptPrinting.vue b/src/components/receiptPrinting.vue index c4bd0c5..1d1bae5 100644 --- a/src/components/receiptPrinting.vue +++ b/src/components/receiptPrinting.vue @@ -29,7 +29,7 @@ ? "车位费" : data.category }} - {{dta.carportid}} + {{data.carportid}}