this.$emit('confirm',1);
- 发布:2022-06-23 10:33
- 更新:2023-12-13 16:10
- 阅读:2103
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 10 专业版
HBuilderX类型: 正式
HBuilderX版本号: 3.4.15
第三方开发者工具版本号: 1.05.2204250
基础库版本号: 2.24.6
项目创建方式: HBuilderX
操作步骤:
预期结果:
@confirm=regionConfirm(data){
console.log(data)
},
data=1
@confirm=regionConfirm(data){
console.log(data)
},
data=1
实际结果:
{type: "confirm", timeStamp: 402461, target: {…}, currentTarget: {…}, mark: {…}, …}
changedTouches: undefined
currentTarget: {id: "", dataset: {…}}
detail: {args: Array(1)}
mark: {}
mp: {type: "confirm", timeStamp: 402461, target: {…}, currentTarget: {…}, mark: {…}, …}
mut: false
preventDefault: ƒ noop()
stopPropagation: ƒ noop()
target: {id: "", dataset: {…}, args: Array(1)}
timeStamp: 402461
touches: undefined
type: "confirm"
_requireActive: undefined
proto: Object
{type: "confirm", timeStamp: 402461, target: {…}, currentTarget: {…}, mark: {…}, …}
changedTouches: undefined
currentTarget: {id: "", dataset: {…}}
detail: {args: Array(1)}
mark: {}
mp: {type: "confirm", timeStamp: 402461, target: {…}, currentTarget: {…}, mark: {…}, …}
mut: false
preventDefault: ƒ noop()
stopPropagation: ƒ noop()
target: {id: "", dataset: {…}, args: Array(1)}
timeStamp: 402461
touches: undefined
type: "confirm"
_requireActive: undefined
proto: Object
12p
还真是这样..我升级了基础库之后就失效了..改了个组件名好了..
2023-11-12 09:51