File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -94,21 +94,21 @@ export default {
9494 }
9595 },
9696 methods: {
97- handleTap () {
97+ handleTap (evt ) {
9898 if (this .disabled ) return false
99- this .triggerEvent (' click' )
99+ this .$emit (' click' , evt )
100100 },
101- bindgetuserinfo ({ detail = {} } = {} ) {
102- this .triggerEvent (' getuserinfo' , detail )
101+ bindgetuserinfo (evt ) {
102+ this .$emit (' getuserinfo' , evt )
103103 },
104- bindcontact ({ detail = {} } = {} ) {
105- this .triggerEvent (' contact' , detail )
104+ bindcontact (evt ) {
105+ this .$emit (' contact' , evt )
106106 },
107- bindgetphonenumber ({ detail = {} } = {} ) {
108- this .triggerEvent (' getphonenumber' , detail )
107+ bindgetphonenumber (evt ) {
108+ this .$emit (' getphonenumber' , evt )
109109 },
110- binderror ({ detail = {} } = {} ) {
111- this .triggerEvent (' error' , detail )
110+ binderror (evt ) {
111+ this .$emit (' error' , evt )
112112 }
113113 }
114114}
You can’t perform that action at this time.
0 commit comments