mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
91e5b57e24
commit
e91c30ca3c
5 files changed
+77
-36
No files matched your search
@@ -8342,6 +8342,7 @@ function addStructureAttribute(attribute = {}) {
|
||||
row.className = "structure-attribute";
|
||||
for (const [name, label] of [["name", "属性名称"], ["namespace", "命名空间"], ["value", "属性内容"]]) {
|
||||
const input = document.createElement("input");
|
||||
input.type = "text";
|
||||
input.name = name;
|
||||
input.value = attribute[name] || "";
|
||||
input.placeholder = label;
|
||||
@@ -8365,6 +8366,7 @@ function addStructureReference(reference = {}) {
|
||||
const row = document.createElement("div");
|
||||
row.className = "structure-reference";
|
||||
const page = document.createElement("select"), object = document.createElement("select"), ids = document.createElement("input");
|
||||
ids.type = "text";
|
||||
page.name = "page";
|
||||
ids.name = "ids";
|
||||
ids.value = (reference.objectIds || []).join(",");
|
||||
|
||||
Reference in new issue
Block a user