@94ai/nf-search-form 3.1.45 → 3.1.47
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.
|
@@ -1617,9 +1617,10 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
};
|
|
1619
1619
|
const debounceResize = debounce(onResize, 100, false);
|
|
1620
|
-
vueDemi.onMounted(() => {
|
|
1621
|
-
onResize();
|
|
1620
|
+
vueDemi.onMounted(async () => {
|
|
1622
1621
|
window.addEventListener("resize", debounceResize);
|
|
1622
|
+
await vueDemi.nextTick();
|
|
1623
|
+
onResize();
|
|
1623
1624
|
});
|
|
1624
1625
|
vueDemi.onUnmounted(() => {
|
|
1625
1626
|
window.removeEventListener("resize", debounceResize);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, getCurrentInstance, computed, watch, onMounted, onBeforeMount,
|
|
1
|
+
import { defineComponent, ref, getCurrentInstance, computed, watch, onMounted, onBeforeMount, nextTick, onUnmounted } from "vue-demi";
|
|
2
2
|
import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
|
|
3
3
|
const __sfc_main$4 = defineComponent({
|
|
4
4
|
name: "NfNumberRange"
|
|
@@ -1615,9 +1615,10 @@ __sfc_main.setup = (__props, __ctx) => {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
1617
|
const debounceResize = debounce(onResize, 100, false);
|
|
1618
|
-
onMounted(() => {
|
|
1619
|
-
onResize();
|
|
1618
|
+
onMounted(async () => {
|
|
1620
1619
|
window.addEventListener("resize", debounceResize);
|
|
1620
|
+
await nextTick();
|
|
1621
|
+
onResize();
|
|
1621
1622
|
});
|
|
1622
1623
|
onUnmounted(() => {
|
|
1623
1624
|
window.removeEventListener("resize", debounceResize);
|
|
@@ -97,21 +97,21 @@
|
|
|
97
97
|
@click="resetNfSearchFormModel"
|
|
98
98
|
>{{ resetBtnText }}
|
|
99
99
|
</el-button>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
100
|
+
<el-tooltip class="item" effect="dark" content="添加筛选条件" placement="bottom">
|
|
101
|
+
<el-button v-if="isShowAdd"
|
|
102
|
+
:type="checkBtnType"
|
|
103
|
+
:plain="checkBtnPlain"
|
|
104
|
+
:size="checkBtnSize"
|
|
105
|
+
:round="checkBtnRound"
|
|
106
|
+
:circle="checkBtnCircle"
|
|
107
|
+
:loading="checkBtnLoading"
|
|
108
|
+
:disabled="checkBtnDisabled"
|
|
109
|
+
:class="(checkBtnClass || '') + ' nf-btn-check'"
|
|
110
|
+
@click.stop="configNfSearchItemVisibleDialog = true"
|
|
111
|
+
>
|
|
112
|
+
<i class="iconfont icon-shaixuan1 nf-fs12"></i>
|
|
113
|
+
</el-button>
|
|
114
|
+
</el-tooltip>
|
|
115
115
|
<slot v-if="isShowBtnBoxSlot && reverseBtnSlot" name="btnBox" />
|
|
116
116
|
</div>
|
|
117
117
|
</nf-form-item>
|
|
@@ -623,9 +623,10 @@ const onResize = () => {
|
|
|
623
623
|
|
|
624
624
|
const debounceResize = debounce(onResize, 100, false)
|
|
625
625
|
|
|
626
|
-
onMounted(() => {
|
|
627
|
-
onResize()
|
|
626
|
+
onMounted(async () => {
|
|
628
627
|
window.addEventListener('resize', debounceResize)
|
|
628
|
+
await nextTick()
|
|
629
|
+
onResize()
|
|
629
630
|
})
|
|
630
631
|
|
|
631
632
|
onUnmounted(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-search-form",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.47",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-action": "^3.1.
|
|
18
|
-
"@94ai/nf-double-half-year": "^3.1.
|
|
19
|
-
"@94ai/nf-double-quarter": "^3.1.
|
|
20
|
-
"@94ai/nf-double-week": "^3.1.
|
|
21
|
-
"@94ai/nf-double-year": "^3.1.
|
|
22
|
-
"@94ai/nf-form": "^3.1.
|
|
23
|
-
"@94ai/nf-form-item": "^3.1.
|
|
24
|
-
"@94ai/nf-half-year-picker": "^3.1.
|
|
25
|
-
"@94ai/nf-quarter-picker": "^3.1.
|
|
26
|
-
"@94ai/nf-select-transfer": "^3.1.
|
|
27
|
-
"@94ai/nf-theme-chalk": "^3.1.
|
|
28
|
-
"@94ai/nf-virtual-select": "^3.1.
|
|
17
|
+
"@94ai/nf-action": "^3.1.47",
|
|
18
|
+
"@94ai/nf-double-half-year": "^3.1.47",
|
|
19
|
+
"@94ai/nf-double-quarter": "^3.1.47",
|
|
20
|
+
"@94ai/nf-double-week": "^3.1.47",
|
|
21
|
+
"@94ai/nf-double-year": "^3.1.47",
|
|
22
|
+
"@94ai/nf-form": "^3.1.47",
|
|
23
|
+
"@94ai/nf-form-item": "^3.1.47",
|
|
24
|
+
"@94ai/nf-half-year-picker": "^3.1.47",
|
|
25
|
+
"@94ai/nf-quarter-picker": "^3.1.47",
|
|
26
|
+
"@94ai/nf-select-transfer": "^3.1.47",
|
|
27
|
+
"@94ai/nf-theme-chalk": "^3.1.47",
|
|
28
|
+
"@94ai/nf-virtual-select": "^3.1.47",
|
|
29
29
|
"vue-demi": "^0.14.5"
|
|
30
30
|
},
|
|
31
31
|
"peerDependenciesMeta": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"types": "lib/index.d.ts",
|
|
42
42
|
"main": "lib/nf-search-form.cjs.js",
|
|
43
43
|
"module": "lib/nf-search-form.esm-bundler.js",
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d6e9dac7a59a6d36471bbdc688120a1d7fb2f654"
|
|
45
45
|
}
|