zhaobao 2 anos atrás
pai
commit
52cff9e6a5

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
   "scripts": {
     "dev": "vue-cli-service serve",
     "lint": "eslint --ext .js,.vue src",
-    "build:prod": "vue-cli-service build",
+    "build": "vue-cli-service build",
     "build:stage": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",
     "new": "plop",

BIN
src/views/aqpt/visualEditor/images/layout_cont.png


BIN
src/views/aqpt/visualEditor/images/layout_cont1.png


+ 2 - 2
src/views/aqpt/visualEditor/index.vue

@@ -260,7 +260,7 @@ export default {
       const options = { id: 1 }
       const icon = 'project-12'
       const tip = '盲板抽堵作业'
-      const iconSize = [27, 33]
+      const iconSize = [40.5, 49.5]
       function drawMark(option = { tip, icon, options, coordinates }) {
         const myIcon = L.icon({
           iconUrl: require(`./images/layers/${option.options.typeId}.png`),
@@ -319,7 +319,7 @@ export default {
           const layer = e.workingLayer
           var icon = L.icon({
             iconUrl,
-            iconSize: [27, 33]
+            iconSize: [40.5, 49.5]
           })
           layer.setIcon(icon)
         }

+ 1 - 1
vue.config.js

@@ -13,7 +13,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title
 // For example, Mac: sudo npm run
 // You can change the port by the following methods:
 // port = 9528 npm run dev OR npm run dev --port = 9528
-const port = process.env.port || process.env.npm_config_port || 9528 // dev port
+const port = process.env.port || process.env.npm_config_port || 9258 // dev port
 
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {