fix: 修改请求菜单接口参数

This commit is contained in:
leiqiaochu 2023-09-27 17:21:52 +08:00
parent c8717c6f0c
commit 9d4177e1c9
2 changed files with 19 additions and 2 deletions

View File

@ -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) => {

View File

@ -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;
});
//