Browse Source

更新 上传文件参数

wzh 3 years ago
parent
commit
971aa92580
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miniprogram/pages/shipOwnerManage/addShipOnwer/addShipOnwer.js

+ 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') {