ocpview-pro 0.0.4 → 0.0.5
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.
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-plus";
|
|
456
|
-
const version$2 = "0.0.
|
|
456
|
+
const version$2 = "0.0.4";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -56993,13 +56993,11 @@ const _sfc_main$c = {
|
|
|
56993
56993
|
this.showGrid = !this.showGrid;
|
|
56994
56994
|
},
|
|
56995
56995
|
setData(data = [], flag = "set") {
|
|
56996
|
-
|
|
56997
|
-
this.dataInfo = data;
|
|
56996
|
+
this.dataInfo = { ...data };
|
|
56998
56997
|
},
|
|
56999
56998
|
clearData() {
|
|
57000
56999
|
},
|
|
57001
57000
|
setReadOnly(value) {
|
|
57002
|
-
console.log("\u{1F680} ~ setReadOnly ~ value:", value);
|
|
57003
57001
|
},
|
|
57004
57002
|
doAction(params) {
|
|
57005
57003
|
this.$emit("doAction", params);
|
|
@@ -57078,7 +57076,6 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57078
57076
|
withDirectives(createElementVNode("div", null, [
|
|
57079
57077
|
_ctx.$slots[$data.myConfig.slot] ? renderSlot(_ctx.$slots, $data.myConfig.slot, {
|
|
57080
57078
|
key: 0,
|
|
57081
|
-
formData: _ctx.formData,
|
|
57082
57079
|
config: $props.config,
|
|
57083
57080
|
dictData: $props.dictData,
|
|
57084
57081
|
doAction: $options.doAction,
|
|
@@ -57193,13 +57190,14 @@ const _sfc_main$b = {
|
|
|
57193
57190
|
}
|
|
57194
57191
|
this.$refs[el2.name][0].setData(temp);
|
|
57195
57192
|
}
|
|
57196
|
-
if (el2.type === "SlotPanelCard") {
|
|
57197
|
-
this.$refs[el2.name][0].setData(data);
|
|
57198
|
-
}
|
|
57199
57193
|
} else {
|
|
57200
57194
|
if (el2.type !== "AppendixBox" || el2.type !== "AppendixBox2") {
|
|
57201
57195
|
if (this.$refs[el2.name] && this.$refs[el2.name][0]) {
|
|
57202
|
-
|
|
57196
|
+
if (el2.type === "SlotPanelCard") {
|
|
57197
|
+
this.$refs[el2.name][0].setData({ ...data });
|
|
57198
|
+
} else {
|
|
57199
|
+
this.$refs[el2.name][0].setData([]);
|
|
57200
|
+
}
|
|
57203
57201
|
}
|
|
57204
57202
|
}
|
|
57205
57203
|
}
|