sard-uniapp 1.13.0 → 1.13.1
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.13.1](https://github.com/sutras/sard-uniapp/compare/v1.13.0...v1.13.1) (2025-05-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 修复notify显示问题 ([f021622](https://github.com/sutras/sard-uniapp/commit/f02162261886743015ab9c0965213db7b1c0ab1f))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
# [1.13.0](https://github.com/sutras/sard-uniapp/compare/v1.12.5...v1.13.0) (2025-04-29)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<sar-notify
|
|
3
3
|
ref="elRef"
|
|
4
|
-
v-
|
|
5
|
-
|
|
4
|
+
v-model:visible="innerProps.visible"
|
|
5
|
+
:root-style="innerProps.rootStyle"
|
|
6
|
+
:root-class="innerProps.rootClass"
|
|
7
|
+
:type="innerProps.type"
|
|
8
|
+
:message="innerProps.message"
|
|
9
|
+
:color="innerProps.color"
|
|
10
|
+
:background="innerProps.background"
|
|
11
|
+
:position="innerProps.position"
|
|
12
|
+
:timeout="innerProps.timeout"
|
|
13
|
+
:duration="innerProps.duration"
|
|
14
|
+
:status-bar="innerProps.statusBar"
|
|
6
15
|
/>
|
|
7
16
|
</template>
|
|
8
17
|
|
|
@@ -15,7 +24,6 @@ import {
|
|
|
15
24
|
defaultNotifyAgentProps
|
|
16
25
|
} from "./common";
|
|
17
26
|
import { useImperative } from "../../use/useImperative";
|
|
18
|
-
import { omit } from "../../utils";
|
|
19
27
|
export default _defineComponent({
|
|
20
28
|
components: {
|
|
21
29
|
SarNotify,
|
|
@@ -63,15 +71,12 @@ export default _defineComponent({
|
|
|
63
71
|
elRef.value?.cancelHide();
|
|
64
72
|
}
|
|
65
73
|
};
|
|
66
|
-
const notifyProps = computed(() => {
|
|
67
|
-
return omit(innerProps.value, ["id"]);
|
|
68
|
-
});
|
|
69
74
|
useImperative(
|
|
70
75
|
imperativeName,
|
|
71
76
|
imperative,
|
|
72
77
|
computed(() => innerProps.value.id)
|
|
73
78
|
);
|
|
74
|
-
const __returned__ = { props, innerProps, elRef, imperative,
|
|
79
|
+
const __returned__ = { props, innerProps, elRef, imperative, SarNotify };
|
|
75
80
|
return __returned__;
|
|
76
81
|
}
|
|
77
82
|
});
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<sar-toast
|
|
3
|
+
ref="elRef"
|
|
4
|
+
v-model:visible="innerProps.visible"
|
|
3
5
|
:root-style="innerProps.rootStyle"
|
|
4
6
|
:root-class="innerProps.rootClass"
|
|
5
7
|
:type="innerProps.type"
|
|
6
8
|
:title="innerProps.title"
|
|
7
|
-
v-model:visible="innerProps.visible"
|
|
8
9
|
:position="innerProps.position"
|
|
9
10
|
:overlay="innerProps.overlay"
|
|
10
11
|
:transparent="innerProps.transparent"
|
|
11
|
-
|
|
12
|
+
:timeout="innerProps.timeout"
|
|
13
|
+
:duration="innerProps.duration"
|
|
12
14
|
/>
|
|
13
15
|
</template>
|
|
14
16
|
|