     if (typeName === '菜单') {
                    return 'warning'
                }
                if (typeName === '接口') {
                    return 'info'
                }
                return 'info'
            },
            // 监听添加权限对话框的关闭事件
            addOrEditDialogClosed() {
                this.editState = false //编辑状态改为false
                this.addOrEditForm = {
                    id: '',
                    parentId: '',
                   