Explorar el Código

更新 上传文件参数

wzh hace 3 años
padre
commit
971aa92580

+ 1 - 1
miniprogram/pages/shipOwnerManage/addShipOnwer/addShipOnwer.js

@@ -70,7 +70,7 @@ Page({
   },
   async uploadId(e) {
     let res = await uploadImage("/cos/upload", {
-      type
+      type: 1
     })
     if (res.status == 0) {
       if (e.currentTarget.dataset.type == 'head') {