sard-uniapp 1.12.0 → 1.12.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.12.1](https://github.com/sutras/sard-uniapp/compare/v1.12.0...v1.12.1) (2025-03-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 移除 crop-image 组件 toast 提示,新增button组件 inline 属性 ([7510f84](https://github.com/sutras/sard-uniapp/commit/7510f84d354a6b0cddd950815ad09a480882db7a))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
# [1.12.0](https://github.com/sutras/sard-uniapp/compare/v1.11.2...v1.12.0) (2025-03-25)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -80,6 +80,7 @@ export default _defineComponent({
|
|
|
80
80
|
color: { type: String, required: false },
|
|
81
81
|
background: { type: String, required: false },
|
|
82
82
|
block: { type: Boolean, required: false },
|
|
83
|
+
inline: { type: Boolean, required: false },
|
|
83
84
|
formType: { type: String, required: false },
|
|
84
85
|
openType: { type: String, required: false },
|
|
85
86
|
appParameter: { type: String, required: false },
|
|
@@ -155,7 +156,7 @@ export default _defineComponent({
|
|
|
155
156
|
bem.m("round", props.round),
|
|
156
157
|
bem.m("disabled", isDisabled.value),
|
|
157
158
|
bem.m("loading", props.loading),
|
|
158
|
-
bem.m("block", props.block),
|
|
159
|
+
bem.m("block", props.inline ? false : props.block),
|
|
159
160
|
props.rootClass
|
|
160
161
|
);
|
|
161
162
|
});
|
|
@@ -630,11 +630,6 @@ export default _defineComponent({
|
|
|
630
630
|
close();
|
|
631
631
|
props.success?.(filePath);
|
|
632
632
|
}).catch((err) => {
|
|
633
|
-
uni.showToast({
|
|
634
|
-
icon: "none",
|
|
635
|
-
title: "\u9519\u8BEF" + err,
|
|
636
|
-
duration: 99999
|
|
637
|
-
});
|
|
638
633
|
props.fail?.(err);
|
|
639
634
|
}).finally(() => {
|
|
640
635
|
isCropping.value = false;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sard-uniapp",
|
|
3
3
|
"name": "sard-uniapp",
|
|
4
4
|
"displayName": "sard-uniapp",
|
|
5
|
-
"version": "1.12.
|
|
5
|
+
"version": "1.12.1",
|
|
6
6
|
"description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"scripts": {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"lodash-es": "^4.17.21",
|
|
122
122
|
"prettier": "^2.8.8",
|
|
123
123
|
"region-data": "^1.2.3",
|
|
124
|
-
"sard-cli": "
|
|
124
|
+
"sard-cli": "link:../sard-cli",
|
|
125
125
|
"sass": "^1.69.7",
|
|
126
126
|
"tel-area-code": "^1.1.0",
|
|
127
127
|
"ts-custom-error": "^3.3.1",
|