Parcourir la source

修复竞争对手中的权限bug

xiaohaizhao il y a 1 an
Parent
commit
14df713fac
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packageA/opponent/detail.js

+ 1 - 0
packageA/opponent/detail.js

@@ -43,6 +43,7 @@ Page({
         this.setData({
             sa_competitorid: options.id,
             isAdmin: appAuth.options.some(v => v == "admin"), //是否具有管理权限
+            options: appAuth.options, //是否具有管理权限
             tabsList,
             appAuth
         })