up
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
doc : "页面元素是否显示权限表",
|
||||
model: {
|
||||
code : {type: "STRING", comment: '角色代码'},
|
||||
key : {type: "STRING", comment: '元素id', unique: true},
|
||||
value: {
|
||||
type : "ENUM", comment: '状态',
|
||||
values : [
|
||||
//注意,一般页面元素会很多,默认是显示状态
|
||||
0, // 通行
|
||||
1, //禁止
|
||||
],
|
||||
defaultValue: 0,
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user