sadais-piui 1.2.7-beta136 → 1.2.7-beta138

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.
@@ -27,6 +27,7 @@
27
27
  :focus="focus"
28
28
  :disabled="getDisabled"
29
29
  :confirm-hold="confirmHold"
30
+ :confirm-type="confirmType"
30
31
  :cursor="cursor"
31
32
  :selection-start="selectionStart"
32
33
  :selection-end="selectionEnd"
@@ -60,6 +61,7 @@
60
61
  :focus="focus"
61
62
  :disabled="getDisabled"
62
63
  :confirm-hold="confirmHold"
64
+ :confirm-type="confirmType"
63
65
  :cursor="cursor"
64
66
  :selection-start="selectionStart"
65
67
  :selection-end="selectionEnd"
@@ -415,10 +415,14 @@ export default {
415
415
  }
416
416
  },
417
417
  computed: {
418
- // 判断是否为企业微信
419
- isQYWX() {
418
+ // 判断是否为企业微信
419
+ isQYWX() {
420
+ let isQYWX = false
421
+ // #ifdef H5
420
422
  const ua = navigator.userAgent.toLowerCase()
421
- return ua.indexOf('wxwork') !== -1
423
+ isQYWX = ua.indexOf('wxwork') !== -1
424
+ // #endif
425
+ return isQYWX
422
426
  },
423
427
  getDisabled() {
424
428
  const parent = this.$pi.parent(this, 'PiFormItem')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta136",
3
+ "version": "1.2.7-beta138",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {