fix: 修改请求菜单接口参数
This commit is contained in:
parent
c8717c6f0c
commit
9d4177e1c9
|
@ -127,7 +127,16 @@ function getMenus(id: string) {
|
|||
{
|
||||
column: 'appId',
|
||||
value: id,
|
||||
},
|
||||
},
|
||||
{
|
||||
terms:[
|
||||
{
|
||||
value:"%show\":true%",
|
||||
termType:"like",
|
||||
column:"options"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
};
|
||||
getMenuTree_api(params).then((resp: any) => {
|
||||
|
|
|
@ -324,7 +324,15 @@ const form = reactive({
|
|||
|
||||
if (isNoCommunity) {
|
||||
// 获取关联菜单
|
||||
getMenuTree_api({ paging: false }).then((resp: any) => {
|
||||
getMenuTree_api({ paging: false,terms:[{terms:[{
|
||||
terms:[
|
||||
{
|
||||
value:"%show\":true%",
|
||||
termType:"like",
|
||||
column:"options"
|
||||
}
|
||||
]
|
||||
}]}]}).then((resp: any) => {
|
||||
form.treeData = resp.result;
|
||||
});
|
||||
// 获取资产类型
|
||||
|
|
Loading…
Reference in New Issue