\ No newline at end of file
+
diff --git a/src/views/display/menuSchema.vue b/src/views/display/menuSchema.vue
index 4876d3757..c6e58933f 100644
--- a/src/views/display/menuSchema.vue
+++ b/src/views/display/menuSchema.vue
@@ -1,145 +1,149 @@
-
\ No newline at end of file
+
diff --git a/src/views/display/tipQuestDetail.vue b/src/views/display/tipQuestDetail.vue
index e46d91c86..61a6d5944 100644
--- a/src/views/display/tipQuestDetail.vue
+++ b/src/views/display/tipQuestDetail.vue
@@ -1,85 +1,84 @@
-
-
-
-
-
-
- {{ formModel.name }}
-
-
-
-
-
-
- 任务描述:
- {{ formModel.description }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ formModel.name }}
+
+
+
+
+
+
+ 任务描述:
+ {{ formModel.description }}
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/views/map/mapdraft/mapmanage/edit.vue b/src/views/map/mapdraft/mapmanage/edit.vue
index facdba2f5..f02838695 100644
--- a/src/views/map/mapdraft/mapmanage/edit.vue
+++ b/src/views/map/mapdraft/mapmanage/edit.vue
@@ -215,11 +215,11 @@ export default {
},
initLoadData() {
this.cityList = [];
- // this.$Dictionary.cityType().then(list => {
- // this.cityList = list;
- // }).catch(() => {
- // this.$messageBox('加载城市列表失败');
- // });
+ this.$Dictionary.cityType().then(list => {
+ this.cityList = list;
+ }).catch(() => {
+ this.$messageBox('加载城市列表失败');
+ });
this.skinStyleList = [];
getSkinStyleList().then(response => {
diff --git a/vue.config.js b/vue.config.js
index d17fb6992..7ad04f226 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,15 +1,15 @@
-'use strict'
+;
// import { getBasePathConfig } from '@/utils/baseUrl'
-const path = require('path')
-const defaultSettings = require('./src/settings.js')
+const path = require('path');
+const defaultSettings = require('./src/settings.js');
function resolve(dir) {
- return path.join(__dirname, dir)
+ return path.join(__dirname, dir);
}
-const name = defaultSettings.title // page title
-const port = 9527 // dev port
+const name = defaultSettings.title; // page title
+const port = 9527; // dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = {
@@ -56,14 +56,14 @@ module.exports = {
}
},
chainWebpack(config) {
- config.plugins.delete('preload') // TODO: need test
- config.plugins.delete('prefetch') // TODO: need test
+ config.plugins.delete('preload'); // TODO: need test
+ config.plugins.delete('prefetch'); // TODO: need test
// set svg-sprite-loader
config.module
.rule('svg')
.exclude.add(resolve('src/icons'))
- .end()
+ .end();
config.module
.rule('icons')
.test(/\.svg$/)
@@ -74,7 +74,7 @@ module.exports = {
.options({
symbolId: 'icon-[name]'
})
- .end()
+ .end();
// set preserveWhitespace
config.module
@@ -82,16 +82,16 @@ module.exports = {
.use('vue-loader')
.loader('vue-loader')
.tap(options => {
- options.compilerOptions.preserveWhitespace = true
- return options
+ options.compilerOptions.preserveWhitespace = true;
+ return options;
})
- .end()
+ .end();
config
// https://webpack.js.org/configuration/devtool/#development
.when(process.env.NODE_ENV === 'development',
config => config.devtool('cheap-source-map')
- )
+ );
config
.when(process.env.NODE_ENV !== 'development',
@@ -103,7 +103,7 @@ module.exports = {
// `runtime` must same as runtimeChunk name. default is `runtime`
inline: /runtime\..*\.js$/
}])
- .end()
+ .end();
config
.optimization.splitChunks({
chunks: 'all',
@@ -127,9 +127,9 @@ module.exports = {
reuseExistingChunk: true
}
}
- })
- config.optimization.runtimeChunk('single')
+ });
+ config.optimization.runtimeChunk('single');
}
- )
+ );
}
-}
+};