Browse Source

feat: 修改

linwenxin 1 year ago
parent
commit
fb776aa281
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/views/setting/account.vue

+ 5 - 4
src/views/setting/account.vue

@@ -650,11 +650,12 @@ export default {
           })
         })
       })
-      if(!pams.length){
-        return this.$errorMsg('至少选择一项强制仓')
-      }
+      // if(!pams.length){
+      //   return this.$errorMsg('至少选择一项强制仓')
+      // }
       stockForceUserAdd({
-        adminUserForceStocks:pams
+        adminUserForceStocks:pams,
+        adminUserId:this.adminUserId_jl
       }).then(res=>{
         this.adminUserId_jl = null
         this.resetForcedHold = false