Skip to content

Commit

Permalink
发布修改提示错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
duolabmeng6 committed Dec 5, 2023
1 parent 579f970 commit 7b3f174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GoEasyDesigner/frontend/src/提示语法生成器.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ function 提取key(components) {
for (const component of components) {
// 遍历 component 所有的 key
for (const key in component) {
let name = component["名称"];
// console.log("component", component)
let name = component["name"];
if (name == "" || name == undefined) {
continue
}
Expand All @@ -18,7 +19,6 @@ function 提取key(components) {
codeLines.push(name);
console.log("加入自动补全列表",component,name)


}
if (component["childComponents"] && component["childComponents"].length > 0) {
const childCodeLines = 提取key(component["childComponents"]);
Expand Down

0 comments on commit 7b3f174

Please sign in to comment.