Explorar el Código

feature:按钮判断

chenqilong hace 2 años
padre
commit
eff4d88ee1
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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
   }