Ver Fonte

feature:按钮判断

chenqilong há 2 anos atrás
pai
commit
eff4d88ee1
1 ficheiros alterados com 0 adições e 3 exclusões
  1. 0 3
      src/utils/common.js

+ 0 - 3
src/utils/common.js

@@ -32,9 +32,6 @@ export const warningNotify = msg => {
  * @returns
  */
 export const checkBtnRole = (value, btnRole) => {
-  if (btnRole === undefined) {
-    return false
-  }
   if (!btnRole) {
     return true
   }