sard-uniapp 1.1.0-rc.1 → 1.1.0
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/README.md
CHANGED
|
@@ -7,8 +7,12 @@
|
|
|
7
7
|
<p align="center">sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库。</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
📖 <a href="http://sutras.gitee.io/sard-uniapp-docs"
|
|
11
|
-
🧑🏻🏫 <a href="http://sutras.gitee.io/sard-uniapp-docs/mobile/"
|
|
10
|
+
📖 <a href="http://sutras.gitee.io/sard-uniapp-docs">文档网站 (国内站)</a>
|
|
11
|
+
🧑🏻🏫 <a href="http://sutras.gitee.io/sard-uniapp-docs/mobile/">案例演示 (国内站)</a>
|
|
12
|
+
</p>
|
|
13
|
+
<p align="center">
|
|
14
|
+
📖 <a href="http://sutras.github.io/sard-uniapp-docs">文档网站 (国外站)</a>
|
|
15
|
+
🧑🏻🏫 <a href="http://sutras.github.io/sard-uniapp-docs/mobile/">案例演示 (国外站)</a>
|
|
12
16
|
</p>
|
|
13
17
|
|
|
14
18
|
---
|
package/changelog.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
|
+
## 1.1.0 (2024-05-02)
|
|
2
|
+
|
|
3
|
+
* fix: 修复input组件字数统计问题 close #19 ([52160b3](https://github.com/sutras/sard-uniapp/commit/52160b3)), closes [#19](https://github.com/sutras/sard-uniapp/issues/19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## 1.1.0-rc.2 (2024-04-27)
|
|
8
|
+
|
|
9
|
+
* chore: update version ([df04e9a](https://github.com/sutras/sard-uniapp/commit/df04e9a))
|
|
10
|
+
* docs: 添加github文档和演示链接 ([3b1c445](https://github.com/sutras/sard-uniapp/commit/3b1c445))
|
|
11
|
+
* docs: close #16 ([e33dfa7](https://github.com/sutras/sard-uniapp/commit/e33dfa7)), closes [#16](https://github.com/sutras/sard-uniapp/issues/16)
|
|
12
|
+
* dropdown-item点击变化值后,没有回传 ([3f21060](https://github.com/sutras/sard-uniapp/commit/3f21060))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
## 1.1.0-rc.1 (2024-04-08)
|
|
2
17
|
|
|
18
|
+
* feat: 新增load-more组件, stepper组件新增size属性 ([f1e1c79](https://github.com/sutras/sard-uniapp/commit/f1e1c79))
|
|
3
19
|
|
|
4
20
|
|
|
5
21
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
<slot name="addon"></slot>
|
|
96
96
|
</view>
|
|
97
97
|
<view v-if="showCount" :class="bem.e('count')">
|
|
98
|
-
{{
|
|
98
|
+
{{ innerValue.length }} / {{ maxlength }}
|
|
99
99
|
</view>
|
|
100
100
|
</view>
|
|
101
101
|
</template>
|
|
@@ -139,7 +139,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
139
139
|
const isReadonly = computed(() => {
|
|
140
140
|
return formContext?.readonly ?? props.readonly;
|
|
141
141
|
});
|
|
142
|
-
const innerValue = ref(props.modelValue);
|
|
142
|
+
const innerValue = ref(String(props.modelValue ?? ""));
|
|
143
143
|
const setInnerValue = (value) => {
|
|
144
144
|
innerValue.value = value;
|
|
145
145
|
emit("update:model-value", value);
|
|
@@ -147,7 +147,7 @@ export default /* @__PURE__ */ _defineComponent({
|
|
|
147
147
|
watch(
|
|
148
148
|
() => props.modelValue,
|
|
149
149
|
() => {
|
|
150
|
-
innerValue.value = props.modelValue ?? "";
|
|
150
|
+
innerValue.value = String(props.modelValue ?? "");
|
|
151
151
|
if (props.validateEvent) {
|
|
152
152
|
formItemContext?.onChange();
|
|
153
153
|
}
|