uview-plus 3.1.35 → 3.1.36
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 +2 -0
- package/components/u-parse/u-parse.vue +3 -3
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -103,7 +103,7 @@ export default {
|
|
|
103
103
|
useAnchor: [Boolean, Number]
|
|
104
104
|
},
|
|
105
105
|
// #ifdef VUE3
|
|
106
|
-
emits: ['load', 'ready', '
|
|
106
|
+
emits: ['load', 'ready', 'imgTap', 'linkTap', 'play', 'error'],
|
|
107
107
|
// #endif
|
|
108
108
|
// #ifndef APP-PLUS-NVUE
|
|
109
109
|
components: {
|
|
@@ -410,7 +410,7 @@ export default {
|
|
|
410
410
|
break
|
|
411
411
|
// 图片点击
|
|
412
412
|
case 'onImgTap':
|
|
413
|
-
this.$emit('
|
|
413
|
+
this.$emit('imgtTap', message.attrs)
|
|
414
414
|
if (this.previewImg) {
|
|
415
415
|
uni.previewImage({
|
|
416
416
|
current: parseInt(message.attrs.i),
|
|
@@ -421,7 +421,7 @@ export default {
|
|
|
421
421
|
// 链接点击
|
|
422
422
|
case 'onLinkTap': {
|
|
423
423
|
const href = message.attrs.href
|
|
424
|
-
this.$emit('
|
|
424
|
+
this.$emit('linkTap', message.attrs)
|
|
425
425
|
if (href) {
|
|
426
426
|
// 锚点跳转
|
|
427
427
|
if (href[0] === '#') {
|