sard-uniapp 1.25.2 → 1.25.3

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.25.3](https://github.com/sutras/sard-uniapp/compare/v1.25.2...v1.25.3) (2025-11-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 修复ios微信端水印渲染失败问题 ([0bea433](https://github.com/sutras/sard-uniapp/commit/0bea433bf0246bbbb1f4cf7701fb75a2879aed90))
7
+
8
+
9
+
1
10
  ## [1.25.2](https://github.com/sutras/sard-uniapp/compare/v1.25.1...v1.25.2) (2025-11-11)
2
11
 
3
12
 
@@ -121,6 +121,7 @@ import SarIcon from "../icon/icon.vue";
121
121
  import SarCheckbox from "../checkbox/checkbox.vue";
122
122
  import SarRadio from "../radio/radio.vue";
123
123
  import SarPopover from "../popover/popover.vue";
124
+ import SarLoading from "../loading/loading.vue";
124
125
  import { usePopover } from "../popover";
125
126
  import { getNodeLevel, recurDescendant } from "../tree/utils";
126
127
  export default _defineComponent({
@@ -129,6 +130,7 @@ export default _defineComponent({
129
130
  SarCheckbox,
130
131
  SarRadio,
131
132
  SarPopover,
133
+ SarLoading,
132
134
  },
133
135
  ...{
134
136
  name: "SarTreeNode",
@@ -412,7 +414,7 @@ export default _defineComponent({
412
414
  return obviousNodes;
413
415
  }, set obviousNodes(v) {
414
416
  obviousNodes = v;
415
- }, onDragStart, onDragMove, onDragEnd, onDragSimulatedClickTouchStart, onDragSimulatedClickTouchEnd, onDragSimulatedPressTouchStart, onDragSimulatedPressTouchMove, onDragSimulatedPressTouchEnd, onDragTouchStart, onDragTouchMove, onDragTouchEnd, onDragMouseDown, dragId, popover, isLastNode, popoverOptions, onPopoverSelect, isMergedLeaf, onNodeClick, nodeActive, onNodeTouchStart, onNodeTouchEnd, onNodeMouseDown, canSingleSelectable, isSingleChecked, onSelectionTouchStart, onSelectionTouchEnd, onSelectionMouseDown, editId, getEditRect, onEditTouchStart, onEditTouchEnd, onEditMouseDown, nodeClass, nodeStyle, editClass, indentStyle, arrowClass, selectionClass, SarIcon, SarCheckbox, SarRadio, SarPopover };
417
+ }, onDragStart, onDragMove, onDragEnd, onDragSimulatedClickTouchStart, onDragSimulatedClickTouchEnd, onDragSimulatedPressTouchStart, onDragSimulatedPressTouchMove, onDragSimulatedPressTouchEnd, onDragTouchStart, onDragTouchMove, onDragTouchEnd, onDragMouseDown, dragId, popover, isLastNode, popoverOptions, onPopoverSelect, isMergedLeaf, onNodeClick, nodeActive, onNodeTouchStart, onNodeTouchEnd, onNodeMouseDown, canSingleSelectable, isSingleChecked, onSelectionTouchStart, onSelectionTouchEnd, onSelectionMouseDown, editId, getEditRect, onEditTouchStart, onEditTouchEnd, onEditMouseDown, nodeClass, nodeStyle, editClass, indentStyle, arrowClass, selectionClass, SarIcon, SarCheckbox, SarRadio, SarPopover, SarLoading };
416
418
  return __returned__;
417
419
  }
418
420
  });
@@ -205,7 +205,12 @@ export default _defineComponent({
205
205
  destHeight: clipHeight,
206
206
  canvasId,
207
207
  success(res) {
208
+ // #ifdef MP-WEIXIN
209
+ dataURL.value = "data:image/png;base64," + uni.getFileSystemManager().readFileSync(res.tempFilePath, "base64");
210
+ // #endif
211
+ // #ifndef MP-WEIXIN
208
212
  dataURL.value = res.tempFilePath;
213
+ // #endif
209
214
  }
210
215
  },
211
216
  instance
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.25.2",
5
+ "version": "1.25.3",
6
6
  "description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
7
7
  "main": "index.js",
8
8
  "scripts": {