Skip to content

Commit a792063

Browse files
zhc5253499657insummer
authored andcommitted
fix:更改wx.lin关闭toast的方法名 (#635)
1 parent 40140af commit a792063

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/toast/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Component({
124124
this.changeStatus();
125125
return this;
126126
};
127-
wx.lin.hideMessage = () => {
127+
wx.lin.hideToast = () => {
128128
this.setData({
129129
status: false
130130
});

examples/dist/toast/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Component({
124124
this.changeStatus();
125125
return this;
126126
};
127-
wx.lin.hideMessage = () => {
127+
wx.lin.hideToast = () => {
128128
this.setData({
129129
status: false
130130
});

src/toast/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Component({
124124
this.changeStatus();
125125
return this;
126126
};
127-
wx.lin.hideMessage = () => {
127+
wx.lin.hideToast = () => {
128128
this.setData({
129129
status: false
130130
});

0 commit comments

Comments
 (0)