guoshilong
2023-03-21 34f19106712e14adbda48b8d3dae0047aef94ff2
报错修改
4 files modified
14 ■■■■■ changed files
src/views/modules/function multiple.vue 2 ●●● patch | view | raw | blame | history
src/views/modules/function.vue 8 ●●●●● patch | view | raw | blame | history
src/views/modules/modules.vue 2 ●●● patch | view | raw | blame | history
src/views/multimedia/multimedia.vue 2 ●●● patch | view | raw | blame | history
src/views/modules/function multiple.vue
@@ -429,7 +429,7 @@
      handler(newVal){
        console.log(newVal)
        if (newVal.length > 0) {
          let url = data.fileUrl[0].value
          let url =newVal[0].value
          this.iframePath = 'http://192.168.0.200:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
        }
      }
src/views/modules/function.vue
@@ -348,7 +348,8 @@
              res: 'data',
              url: 'link'
            },
            action: "/api/function/function/put-file-attach"
            action: "/api/function/function/put-file-attach",
            data: {},
          },
        ]
      },
@@ -371,7 +372,8 @@
              res: 'data',
              url: 'link'
            },
            action: "/api/function/function/put-file-attach"
            action: "/api/function/function/put-file-attach",
            data: {},
          },
        ]
      },
@@ -435,7 +437,7 @@
      handler(newVal){
        console.log(newVal)
        if (newVal.length > 0) {
          let url = data.fileUrl[0].value
          let url = newVal[0].value
          this.iframePath = 'http://192.168.0.200:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
        }
      }
src/views/modules/modules.vue
@@ -152,7 +152,7 @@
            prop: "equipmentId",
            span:24,
            type: "select",
            dicUrl: `/api/equipment/equipment/all?type=1`,
            dicUrl: `/api/equipment/equipment/all?type=2`,
            props: {
              label: "code",
              value: "id"
src/views/multimedia/multimedia.vue
@@ -77,7 +77,7 @@
            label: "设备编码",
            prop: "equipmentId",
            type: "select",
            dicUrl: `/api/equipment/equipment/all?type=1`,
            dicUrl: `/api/equipment/equipment/all?type=2`,
            props: {
              label: "code",
              value: "id"