diff --git a/src/utils/strUtil.js b/src/utils/strUtil.js new file mode 100644 index 0000000..255ec28 --- /dev/null +++ b/src/utils/strUtil.js @@ -0,0 +1,7 @@ +//封装字符串相关的方法 +export function isBlank(value) { + value = value.trim(); + if (value === "" || value === null || value === "string") { + return true; + } +} diff --git a/src/views/userManage/admin/authAdmin.vue b/src/views/userManage/admin/authAdmin.vue index 211af95..6d0eef6 100644 --- a/src/views/userManage/admin/authAdmin.vue +++ b/src/views/userManage/admin/authAdmin.vue @@ -1,467 +1,482 @@