@airpower/web 0.3.4 → 0.3.6
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/main.js +3 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -17928,7 +17928,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17928
17928
|
const entityInstance = Transformer.newInstance(EntityClass);
|
|
17929
17929
|
const modelConfig = getModelConfig(EntityClass);
|
|
17930
17930
|
const dataListRef = computed(() => {
|
|
17931
|
-
if (props.dataList) {
|
|
17931
|
+
if (props.dataList.length > 0) {
|
|
17932
17932
|
return props.dataList;
|
|
17933
17933
|
}
|
|
17934
17934
|
if (hook) {
|
|
@@ -18385,6 +18385,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18385
18385
|
data: dataListRef.value,
|
|
18386
18386
|
"row-class-name": tableRowClassName,
|
|
18387
18387
|
"row-key": (row) => `${row.id}`,
|
|
18388
|
+
"tree-props": unref(WebConfig).treeProps,
|
|
18388
18389
|
class: "a-table",
|
|
18389
18390
|
flexible: "",
|
|
18390
18391
|
height: "100%",
|
|
@@ -18573,7 +18574,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18573
18574
|
}, 8, ["width"])) : createCommentVNode("", true)
|
|
18574
18575
|
]),
|
|
18575
18576
|
_: 3
|
|
18576
|
-
}, 8, ["data", "row-key"])), [
|
|
18577
|
+
}, 8, ["data", "row-key", "tree-props"])), [
|
|
18577
18578
|
[_directive_loading, isLoadingRef.value]
|
|
18578
18579
|
]) : createCommentVNode("", true)
|
|
18579
18580
|
], 4),
|