diff --git a/epmet-oper-web/.eslintignore b/epmet-oper-web/.eslintignore index 89317ca..ba2c163 100644 --- a/epmet-oper-web/.eslintignore +++ b/epmet-oper-web/.eslintignore @@ -1,3 +1,2 @@ /src/icons/iconfont.js /*.js -/*.vue \ No newline at end of file diff --git a/epmet-oper-web/.vscode/settings.json b/epmet-oper-web/.vscode/settings.json index ad2327f..a4bba5a 100644 --- a/epmet-oper-web/.vscode/settings.json +++ b/epmet-oper-web/.vscode/settings.json @@ -13,11 +13,9 @@ "eslint.autoFixOnSave": true, // 添加 vue 支持 "eslint.validate": [], - "semi": true, //在代码尾部添加分号 - "singleQuote": true, //把双引号换成单引号 - "trailingComma": "es5", //在代码尾部添加逗号 // #去掉代码结尾的分号 "prettier.semi": false, + "prettier.trailingComma": "none", // #使用带引号替代双引号 "prettier.singleQuote": true, // #让函数(名)和后面的括号之间加个空格 diff --git a/epmet-oper-web/public/index.html b/epmet-oper-web/public/index.html index ca6361e..a683c38 100644 --- a/epmet-oper-web/public/index.html +++ b/epmet-oper-web/public/index.html @@ -1,59 +1,67 @@ +
+ + + + + - - - - - - + + - - + + <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> + + + + + <% } %> + + <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> + + <% } %> + + <% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %> + + <% } %> + + <% if (process.env.VUE_APP_NODE_ENV === 'prod') { %> + + <% } %> + - - <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> - - - - - <% } %> - - <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> - - <% } %> - - <% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %> - - <% } %> - - <% if (process.env.VUE_APP_NODE_ENV === 'prod') { %> - - <% } %> - - - - - - - \ No newline at end of file + + + +