mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(项目设置): 左侧模块树创建同名模块无提示
--bug=1018621 --user=李玉号 【项目设置】文件管理-左侧模块树-创建同名模块无提示 https://www.tapd.cn/55049933/s/1271112
This commit is contained in:
parent
6bba28235a
commit
0481b88302
@ -348,9 +348,8 @@ export default {
|
||||
});
|
||||
} else if (this.operation_type_add === 'external') {
|
||||
let param = {};
|
||||
param.parentId = node.id;
|
||||
param.level = 1;
|
||||
if (data.id != 'root') {
|
||||
if (data.id !== 'root') {
|
||||
// 非根节点
|
||||
param.parentId = data.id;
|
||||
param.level = data.level + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user