tanxin-ui 1.1.3 → 1.1.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/tanxin-ui.es.js
CHANGED
|
@@ -12395,6 +12395,18 @@ var TMessageItem = defineComponent({
|
|
|
12395
12395
|
timerId.value = null;
|
|
12396
12396
|
}
|
|
12397
12397
|
};
|
|
12398
|
+
const zIndex2 = ref(0);
|
|
12399
|
+
const topStyles = computed(() => {
|
|
12400
|
+
return {
|
|
12401
|
+
zIndex: zIndex2.value
|
|
12402
|
+
};
|
|
12403
|
+
});
|
|
12404
|
+
const modal = useModal();
|
|
12405
|
+
onBeforeMount(() => {
|
|
12406
|
+
if (!isClient)
|
|
12407
|
+
return;
|
|
12408
|
+
zIndex2.value = modal.nextZIndex();
|
|
12409
|
+
});
|
|
12398
12410
|
const handleClose2 = () => {
|
|
12399
12411
|
var _a;
|
|
12400
12412
|
closed.value = true;
|
|
@@ -12435,7 +12447,8 @@ var TMessageItem = defineComponent({
|
|
|
12435
12447
|
})]) : null;
|
|
12436
12448
|
const render = () => {
|
|
12437
12449
|
return createVNode("div", {
|
|
12438
|
-
"class": `${prefixCls.value}-wrapper
|
|
12450
|
+
"class": `${prefixCls.value}-wrapper`,
|
|
12451
|
+
"style": topStyles.value
|
|
12439
12452
|
}, [createVNode("div", mergeProps(attrs, {
|
|
12440
12453
|
"class": classes.value
|
|
12441
12454
|
}), [leftIcon, createVNode("div", {
|
|
@@ -17156,6 +17169,12 @@ var Modal = defineComponent({
|
|
|
17156
17169
|
zIndex: zIndex2.value
|
|
17157
17170
|
};
|
|
17158
17171
|
});
|
|
17172
|
+
const modal = useModal();
|
|
17173
|
+
onBeforeMount(() => {
|
|
17174
|
+
if (!isClient)
|
|
17175
|
+
return;
|
|
17176
|
+
zIndex2.value = modal.nextZIndex();
|
|
17177
|
+
});
|
|
17159
17178
|
const visible = ref(props.visible);
|
|
17160
17179
|
const refDialog = ref();
|
|
17161
17180
|
const refHeader = ref();
|
|
@@ -17213,7 +17232,6 @@ var Modal = defineComponent({
|
|
|
17213
17232
|
loading.value = props.loading;
|
|
17214
17233
|
});
|
|
17215
17234
|
const modalLevel = ref(0);
|
|
17216
|
-
const modal = useModal();
|
|
17217
17235
|
watch(() => visible.value, () => {
|
|
17218
17236
|
if (!isClient)
|
|
17219
17237
|
return;
|
|
@@ -17349,11 +17367,6 @@ var Modal = defineComponent({
|
|
|
17349
17367
|
document.removeEventListener("touchmove", handleMousemove, true);
|
|
17350
17368
|
document.removeEventListener("touchend", handleMouseup, true);
|
|
17351
17369
|
};
|
|
17352
|
-
onBeforeMount(() => {
|
|
17353
|
-
if (!isClient)
|
|
17354
|
-
return;
|
|
17355
|
-
zIndex2.value = modal.nextZIndex();
|
|
17356
|
-
});
|
|
17357
17370
|
onMounted(() => {
|
|
17358
17371
|
if (!isClient)
|
|
17359
17372
|
return;
|