瀏覽代碼

更新 上传文件参数

wzh 3 年之前
父節點
當前提交
971aa92580
共有 1 個文件被更改,包括 1 次插入1 次删除
  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') {