stellar-ui-plus 1.23.12 → 1.23.14

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.
@@ -120,6 +120,7 @@ export default function useSimpleFilterLogic(props: FilterToolProps, emits: Setu
120
120
  item.children?.forEach(child => {
121
121
  child.active = false;
122
122
  });
123
+ item.config = { ...item.config, value: '' }; // 重置输入框值
123
124
  if (props.filterType === 'checkbox') {
124
125
  item.activeValue = '';
125
126
  }
@@ -67,7 +67,7 @@ const onClose = async () => {
67
67
  };
68
68
 
69
69
  const onTouchstart = (e: UniTouchEvent) => {
70
- if (props.scale) return;
70
+ if (!props.scale) return;
71
71
  const [x1, y1, x2, y2] = touch.value?.touchStart(e.changedTouches) || [];
72
72
  if (x1 && y1 && x2 && y2) {
73
73
  if (dataShowmenu) setDataShowmenu(false);
@@ -75,7 +75,7 @@ const onTouchstart = (e: UniTouchEvent) => {
75
75
  };
76
76
 
77
77
  const onTouchmove = (e: UniTouchEvent) => {
78
- if (props.scale) return;
78
+ if (!props.scale) return;
79
79
  const bool = touch.value?.touchMove(e.changedTouches);
80
80
  if (!bool) return;
81
81
  if (dataShowmenu) setDataShowmenu(false);
@@ -85,7 +85,7 @@ const onTouchmove = (e: UniTouchEvent) => {
85
85
  };
86
86
 
87
87
  const onTouchend = (e: UniTouchEvent) => {
88
- if (props.scale) return;
88
+ if (!props.scale) return;
89
89
  if (dataShowmenu.value !== props.showmenu) setDataShowmenu(props.showmenu);
90
90
  const bool = touch.value?.touchEnd(e.changedTouches);
91
91
  if (!bool) return;
@@ -106,7 +106,7 @@ const draw = (ctx: URCodeCanvasContext, canvas: any = null) => {
106
106
 
107
107
  // #endif
108
108
 
109
- // #ifdef H5
109
+ // #ifdef H5 || APP
110
110
  canvasWidth.value = qr.dynamicSize;
111
111
  canvasHeight.value = qr.dynamicSize;
112
112
  qr.loadImage = src => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellar-ui-plus",
3
- "version": "1.23.12",
3
+ "version": "1.23.14",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",