@haluo/biz 1.0.2 → 1.0.4
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/haluo-biz.js +10 -10
- package/dist/haluo-biz.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/haluo-biz.js
CHANGED
|
@@ -1105,13 +1105,7 @@ const _hoisted_4$2 = {
|
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
class: "nodata"
|
|
1107
1107
|
};
|
|
1108
|
-
const _hoisted_5$2 =
|
|
1109
|
-
key: 1,
|
|
1110
|
-
"infinite-scroll-immediate-check": "false",
|
|
1111
|
-
class: "insert-article_list",
|
|
1112
|
-
"infinite-scroll-disabled": "disable",
|
|
1113
|
-
"infinite-scroll-distance": "10"
|
|
1114
|
-
};
|
|
1108
|
+
const _hoisted_5$2 = ["infinite-scroll-disabled"];
|
|
1115
1109
|
const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
|
|
1116
1110
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1117
1111
|
__name: "index",
|
|
@@ -1145,7 +1139,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1145
1139
|
data: [],
|
|
1146
1140
|
busy: true
|
|
1147
1141
|
});
|
|
1148
|
-
computed(() => {
|
|
1142
|
+
const disable = computed(() => {
|
|
1149
1143
|
return data.finished || data.busy;
|
|
1150
1144
|
});
|
|
1151
1145
|
watch(() => data.params.radio, (_) => {
|
|
@@ -1244,7 +1238,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1244
1238
|
_: 1
|
|
1245
1239
|
}, 8, ["modelValue"])
|
|
1246
1240
|
]),
|
|
1247
|
-
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : withDirectives((openBlock(), createElementBlock("div",
|
|
1241
|
+
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : withDirectives((openBlock(), createElementBlock("div", {
|
|
1242
|
+
key: 1,
|
|
1243
|
+
"infinite-scroll-immediate": false,
|
|
1244
|
+
class: "insert-article_list",
|
|
1245
|
+
"infinite-scroll-disabled": unref(disable),
|
|
1246
|
+
"infinite-scroll-distance": 10
|
|
1247
|
+
}, [
|
|
1248
1248
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data.data, (item, index) => {
|
|
1249
1249
|
return openBlock(), createElementBlock("div", {
|
|
1250
1250
|
key: index,
|
|
@@ -1266,7 +1266,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1266
1266
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
1267
1267
|
]);
|
|
1268
1268
|
}), 128))
|
|
1269
|
-
])), [
|
|
1269
|
+
], 8, _hoisted_5$2)), [
|
|
1270
1270
|
[_directive_infinite_scroll, getArticleList]
|
|
1271
1271
|
])
|
|
1272
1272
|
])
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -1109,13 +1109,7 @@
|
|
|
1109
1109
|
key: 0,
|
|
1110
1110
|
class: "nodata"
|
|
1111
1111
|
};
|
|
1112
|
-
const _hoisted_5$2 =
|
|
1113
|
-
key: 1,
|
|
1114
|
-
"infinite-scroll-immediate-check": "false",
|
|
1115
|
-
class: "insert-article_list",
|
|
1116
|
-
"infinite-scroll-disabled": "disable",
|
|
1117
|
-
"infinite-scroll-distance": "10"
|
|
1118
|
-
};
|
|
1112
|
+
const _hoisted_5$2 = ["infinite-scroll-disabled"];
|
|
1119
1113
|
const _hoisted_6$1 = { style: { "display": "inline-flex", "flex-direction": "column" } };
|
|
1120
1114
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
1121
1115
|
__name: "index",
|
|
@@ -1149,7 +1143,7 @@
|
|
|
1149
1143
|
data: [],
|
|
1150
1144
|
busy: true
|
|
1151
1145
|
});
|
|
1152
|
-
vue.computed(() => {
|
|
1146
|
+
const disable = vue.computed(() => {
|
|
1153
1147
|
return data.finished || data.busy;
|
|
1154
1148
|
});
|
|
1155
1149
|
vue.watch(() => data.params.radio, (_) => {
|
|
@@ -1248,7 +1242,13 @@
|
|
|
1248
1242
|
_: 1
|
|
1249
1243
|
}, 8, ["modelValue"])
|
|
1250
1244
|
]),
|
|
1251
|
-
data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div",
|
|
1245
|
+
data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
1246
|
+
key: 1,
|
|
1247
|
+
"infinite-scroll-immediate": false,
|
|
1248
|
+
class: "insert-article_list",
|
|
1249
|
+
"infinite-scroll-disabled": vue.unref(disable),
|
|
1250
|
+
"infinite-scroll-distance": 10
|
|
1251
|
+
}, [
|
|
1252
1252
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data.data, (item, index) => {
|
|
1253
1253
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1254
1254
|
key: index,
|
|
@@ -1270,7 +1270,7 @@
|
|
|
1270
1270
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
1271
1271
|
]);
|
|
1272
1272
|
}), 128))
|
|
1273
|
-
])), [
|
|
1273
|
+
], 8, _hoisted_5$2)), [
|
|
1274
1274
|
[_directive_infinite_scroll, getArticleList]
|
|
1275
1275
|
])
|
|
1276
1276
|
])
|