sadais-piui 1.2.4-beta2 → 1.2.4-beta3

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.
@@ -300,7 +300,6 @@ export default {
300
300
  },
301
301
  watch: {
302
302
  value(val) {
303
- console.log(val)
304
303
  this.init()
305
304
  }
306
305
  },
@@ -401,8 +400,10 @@ export default {
401
400
  this.calendarValue = calendarValue
402
401
  this.val =
403
402
  this.type === 'range'
404
- ? this.calendarValue.map(cv => cv.format(this.dateFormat))
405
- : this.calendarValue.format(this.dateFormat)
403
+ ? this.calendarValue.map(cv =>
404
+ this.$pi.date.formatDate(new Date(cv.timestamp), this.dateFormat)
405
+ )
406
+ : this.$pi.date.formatDate(new Date(this.calendarValue.timestamp), this.dateFormat)
406
407
  this.handleEmitChange()
407
408
  }
408
409
  }
@@ -35,7 +35,7 @@
35
35
  'animation-duration': getDuration.css
36
36
  }
37
37
  ]"
38
- @touchmove.stop.prevent
38
+ @touchmove.stop.prevent="() => {}"
39
39
  @tap.stop.prevent="closeMask"
40
40
  />
41
41
  </view>
@@ -5,8 +5,8 @@
5
5
  :class="[customClass, isVertical ? 'vertical' : '']"
6
6
  @mouseenter="handlePause"
7
7
  @mouseleave="handleStart"
8
- @touchmove.stop.prevent
9
- @mousewheel.stop.prevent
8
+ @touchmove.stop.prevent="() => {}"
9
+ @mousewheel.stop.prevent="() => {}"
10
10
  >
11
11
  <view class="inner-wrap" :class="direction" :style="[animate]">
12
12
  <view v-for="(marqueeItems, index) in getItems" :key="index" class="inner">
@@ -16,11 +16,11 @@
16
16
  'animation-duration': getDuration.css
17
17
  }
18
18
  ]"
19
- @touchmove.stop.prevent
19
+ @touchmove.stop.prevent="() => {}"
20
20
  @tap.stop.prevent="handleCloseMask"
21
21
  >
22
22
  <!-- 遮罩层内区域插槽 -->
23
- <view @tap.stop.prevent><slot /></view>
23
+ <view @tap.stop.prevent="() => {}"><slot /></view>
24
24
  </view>
25
25
  </template>
26
26
 
@@ -14,7 +14,7 @@
14
14
  'animation-duration': getDuration.css
15
15
  }
16
16
  ]"
17
- @touchmove.stop.prevent
17
+ @touchmove.stop.prevent="() => {}"
18
18
  @tap.stop.prevent="handleCloseMask"
19
19
  >
20
20
  <view
@@ -35,7 +35,7 @@
35
35
  positionStyle,
36
36
  customStyle
37
37
  ]"
38
- @tap.stop.prevent
38
+ @tap.stop.prevent="() => {}"
39
39
  >
40
40
  <!-- 关闭图标 -->
41
41
  <view
@@ -4,7 +4,7 @@
4
4
  class="pi-skeleton-wrap"
5
5
  :style="[customStyle, skeletonContainStyle]"
6
6
  :class="[customClass]"
7
- @touchmove.stop.prevent
7
+ @touchmove.stop.prevent="() => {}"
8
8
  >
9
9
  <view
10
10
  v-for="(node, index) in skeletonNodes"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.4-beta2",
3
+ "version": "1.2.4-beta3",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {