fit():修改方法listMenu(queryParams.value)没有传实体类
parent
59c1602b4d
commit
b6d555cf61
|
@ -37,7 +37,7 @@
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="info"
|
type="info"
|
||||||
plain
|
plain
|
||||||
icon="Sort"
|
icon="Sort"
|
||||||
|
@ -333,7 +333,7 @@ function getList() {
|
||||||
/** 查询菜单下拉树结构 */
|
/** 查询菜单下拉树结构 */
|
||||||
function getTreeselect() {
|
function getTreeselect() {
|
||||||
menuOptions.value = [];
|
menuOptions.value = [];
|
||||||
listMenu().then(response => {
|
listMenu(queryParams.value).then(response => {
|
||||||
const menu = { menuId: 0, menuName: "主类目", children: [] };
|
const menu = { menuId: 0, menuName: "主类目", children: [] };
|
||||||
menu.children = proxy.handleTree(response.data, "menuId");
|
menu.children = proxy.handleTree(response.data, "menuId");
|
||||||
menuOptions.value.push(menu);
|
menuOptions.value.push(menu);
|
||||||
|
|
Loading…
Reference in New Issue