zhaobao 2 years ago
parent
commit
85bb39f79c
2 changed files with 4 additions and 5 deletions
  1. 3 3
      src/settings.js
  2. 1 2
      src/views/aqpt/visualEditor/index.vue

+ 3 - 3
src/settings.js

@@ -36,11 +36,11 @@ module.exports = {
   /**
   * 服务API地址
   */
-  devServerUrl: 'http://116.204.109.177:8080/', // 开发环境
+  // devServerUrl: 'http://116.204.109.177:8080/', // 开发环境
   serverUrl: 'http://116.204.109.177:8080/', // 正式环境
-  // devServerUrl: 'http://1.15.92.205:8080/', // 开发环境
+  devServerUrl: 'http://192.168.3.5:8080/', // 开发环境
   // devServerUrl: 'http://127.0.0.1:8080/', // 开发环境
-  mqttUrl: 'ws://1.15.92.205:8083/mqtt', // 水泥厂mqtt地址
+  mqttUrl: 'ws://113.141.93.143:8894/mqtt',
   /**
   * websocket 地址
   * dev 开发环境

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

@@ -271,8 +271,7 @@ export default {
       const tip = '盲板抽堵作业'
       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`),
+        const myIcon = L.divIcon({
           className: option.icon,
           iconSize: iconSize
         })