form-custom-test 3.0.121 → 3.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/designer.es.js +6 -3
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +6 -3
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -26185,13 +26185,13 @@ function registerIcon(app) {
|
|
|
26185
26185
|
if (typeof window !== "undefined") {
|
|
26186
26186
|
let loadSvg = function() {
|
|
26187
26187
|
var body = document.body;
|
|
26188
|
-
var svgDom = document.getElementById("
|
|
26188
|
+
var svgDom = document.getElementById("__svg__icons__dom__1778307032393__");
|
|
26189
26189
|
if (!svgDom) {
|
|
26190
26190
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26191
26191
|
svgDom.style.position = "absolute";
|
|
26192
26192
|
svgDom.style.width = "0";
|
|
26193
26193
|
svgDom.style.height = "0";
|
|
26194
|
-
svgDom.id = "
|
|
26194
|
+
svgDom.id = "__svg__icons__dom__1778307032393__";
|
|
26195
26195
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26196
26196
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26197
26197
|
}
|
|
@@ -61710,6 +61710,8 @@ const _sfc_main$5 = {
|
|
|
61710
61710
|
return this.fieldModel ? this.fieldModel.username : "";
|
|
61711
61711
|
} else if (this.currentUserType === "deptName") {
|
|
61712
61712
|
return this.fieldModel ? this.fieldModel.deptName : "";
|
|
61713
|
+
} else if (this.currentUserType === "companyName") {
|
|
61714
|
+
return this.fieldModel ? this.fieldModel.companyName : "";
|
|
61713
61715
|
} else {
|
|
61714
61716
|
return JSON.stringify(this.fieldModel);
|
|
61715
61717
|
}
|
|
@@ -63382,7 +63384,8 @@ const loadExtension = function(app) {
|
|
|
63382
63384
|
registerCPEditor(app, "current-user-type", "current-user-type-editor", createSelectEditor("type", "extension.setting.currentUserType", {
|
|
63383
63385
|
optionItems: [
|
|
63384
63386
|
{ label: "\u7528\u6237\u540D", value: "username" },
|
|
63385
|
-
{ label: "\u90E8\u95E8\u540D\u79F0", value: "deptName" }
|
|
63387
|
+
{ label: "\u90E8\u95E8\u540D\u79F0", value: "deptName" },
|
|
63388
|
+
{ label: "\u516C\u53F8\u540D\u79F0", value: "companyName" }
|
|
63386
63389
|
]
|
|
63387
63390
|
}));
|
|
63388
63391
|
app.component(AssetSelectWidget.name, AssetSelectWidget);
|