File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ Component({
99 content : '告知当前状态、信息和解决方法等内容。' ,
1010 cancelBtn : '取消' ,
1111 confirmBtn : {
12- openType : 'getPhoneNumber ' ,
13- content : '获取手机 ' ,
12+ openType : 'share ' ,
13+ content : '分享给朋友 ' ,
1414 bindgetphonenumber ( { detail } ) {
1515 console . log ( detail ) ;
1616 if ( detail . errMsg . includes ( 'fail' ) ) {
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ exports[`Fab Fab advance demo works fine 1`] = `
55 <t-fab
66 buttonProps = " {{
77 Object {
8- " icon": " call " ,
9- " openType" : " getPhoneNumber " ,
8+ " icon": " share " ,
9+ " openType" : " share " ,
1010 }
1111 }}"
1212 icon = " add"
13- text = " 获取手机号 "
13+ text = " 分享给朋友 "
1414 bind:click="handleClick"
1515 />
1616</advance >
Original file line number Diff line number Diff line change 11Component ( {
22 data : {
33 fabButton : {
4- icon : 'call ' ,
5- openType : 'getPhoneNumber ' ,
4+ icon : 'share ' ,
5+ openType : 'share ' ,
66 } ,
77 } ,
88 methods : {
Original file line number Diff line number Diff line change 1- <t-fab icon="add" button-props="{{fabButton}}" bind:click="handleClick" text="获取手机号 " />
1+ <t-fab icon="add" button-props="{{fabButton}}" bind:click="handleClick" text="分享给朋友 " />
You can’t perform that action at this time.
0 commit comments