3h1-ui 2.15.21 → 2.15.23
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/es/index.js +7 -3
- package/es/style.css +3879 -3010
- package/lib/index.js +7 -3
- package/lib/style.css +3879 -3010
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -7689,7 +7689,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7689
7689
|
const getRules = ({ column, record, index: index2, ...args }) => {
|
|
7690
7690
|
var _a2, _b;
|
|
7691
7691
|
const errKey = `${column.dataIndex}-${record.uuid}Info`;
|
|
7692
|
-
if (!column.required)
|
|
7692
|
+
if (!column.required && !column.rules)
|
|
7693
7693
|
return [];
|
|
7694
7694
|
if ((_a2 = rulesRef[errKey]) == null ? void 0 : _a2.rules)
|
|
7695
7695
|
return (_b = rulesRef[errKey]) == null ? void 0 : _b.rules;
|
|
@@ -12935,7 +12935,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
12935
12935
|
const TreeHeader_vue_vue_type_style_index_0_scoped_6d3f2554_lang = "";
|
|
12936
12936
|
const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-6d3f2554"]]);
|
|
12937
12937
|
/**
|
|
12938
|
-
* @vue/shared v3.4.
|
|
12938
|
+
* @vue/shared v3.4.37
|
|
12939
12939
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12940
12940
|
* @license MIT
|
|
12941
12941
|
**/
|
|
@@ -24375,7 +24375,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
24375
24375
|
const props2 = __props;
|
|
24376
24376
|
const innerProps = ref({});
|
|
24377
24377
|
const getProps = computed(() => {
|
|
24378
|
-
const tempProps = {
|
|
24378
|
+
const tempProps = {
|
|
24379
|
+
emptyText: "暂无数据",
|
|
24380
|
+
...props2,
|
|
24381
|
+
...innerProps.value
|
|
24382
|
+
};
|
|
24379
24383
|
if (tempProps.isCompatible) {
|
|
24380
24384
|
tempProps.columns.forEach((column) => {
|
|
24381
24385
|
column.field = column.dataIndex;
|