|
|
@@ -105,6 +105,7 @@ onBeforeMount(() => {
|
|
|
// 对 asyncRoutes 进行预处理并转换为树形结构
|
|
|
const processedRoutes = preprocessRoutes(asyncRoutes);
|
|
|
treeData.value = convertToTreeData(0, processedRoutes);
|
|
|
+ console.log(JSON.stringify(treeData.value))
|
|
|
});
|
|
|
interface roleList {
|
|
|
id: string,
|
|
|
@@ -172,8 +173,6 @@ async function roleSubmit() {
|
|
|
return;
|
|
|
}
|
|
|
if (roleInfo.id) {
|
|
|
- console.log(roleInfo)
|
|
|
- return
|
|
|
await api.roleApi.roleUpdate(roleInfo).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
rolequery();
|