linwenxin 1 miesiąc temu
rodzic
commit
5f9929637c

+ 1 - 0
src/common/utils/util.js

@@ -11,6 +11,7 @@ import { setStorage, getStorage, removeStorage } from '@/common/utils/storage.js
 export function replaceStringInObject(obj, targets, replacement) {
   // 将对象转换为字符串
   let str = JSON.stringify(obj)
+  alert(str)
   // 替换所有目标字符串为替换字符串
   for (var target of targets) {
     str = str.replace(new RegExp(target, 'g'), replacement)

+ 0 - 2
src/packageWorkorder/pages/nandufysq.vue

@@ -240,7 +240,6 @@ export default {
                 uni.showLoading()
                 res.tempFilePaths.forEach(async item => {
                   let data = await uploadImgFull(item)
-                  alert(JSON.stringify(data))
                   this.imageList.push(data)
                 })
                 uni.hideLoading()
@@ -257,7 +256,6 @@ export default {
               success: async res => {
                 uni.showLoading()
                 let data = await uploadImgFull(res.tempFilePath)
-                alert(JSON.stringify(data))
                 this.imageList.push(data)
                 uni.hideLoading()
               },