优化权限管理页面

This commit is contained in:
evoxwht 2023-06-05 18:23:13 +08:00
parent 03c1f2f20e
commit 7d5c3d4f5e

View File

@ -379,7 +379,7 @@ export default {
return this.$Message.warning('请填写菜单/按钮/接口名称');
}
if (!this.formValidate.menu_path && this.authType != 2) {
return this.$Message.warning('请填写页面地址');
return this.$Message.warning('请填写页面/按钮地址');
}
if (!this.formValidate.api_url && this.authType == 2) {
return this.$Message.warning('请填写接口地址');