-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* demo: remove async * demo: updated * Revert "demo: remove async" This reverts commit 0a25101. * Revert "demo: updated" This reverts commit c82e215. * fix: use different tsconfig
- Loading branch information
Showing
88 changed files
with
615 additions
and
1,478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Page({ | ||
handleTap: function (e) { | ||
handleTap(e) { | ||
//@ts-ignore | ||
wx.showToast({ | ||
title: '点击按钮', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Page({ | ||
handleTap: function (e) { | ||
handleTap(e) { | ||
console.log(e); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Page({ | ||
handleTap: function (e) { | ||
handleTap(e) { | ||
console.log(e); | ||
my.alert({ | ||
title: '点击按钮' | ||
|
6 changes: 3 additions & 3 deletions
6
compiled/wechat/demo/pages/Calendar/collapse-container/cn-day/cn-day.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
compiled/wechat/demo/pages/Calendar/collapse-container/collapse-container.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
import cityList from './city'; | ||
Page({ | ||
data: { | ||
cityList: cityList, | ||
cityList, | ||
value: ['34', '330'], | ||
}, | ||
handleCityPickerChange: function (value, selectedOption, e) { | ||
handleCityPickerChange(value, selectedOption, e) { | ||
console.log('cityChange', value, selectedOption, e); | ||
}, | ||
handleCityOnOk: function (value, selectedOption, e) { | ||
handleCityOnOk(value, selectedOption, e) { | ||
console.log('cityOk', value, selectedOption, e); | ||
}, | ||
handleOk: function (value, selectedOption, e) { | ||
handleOk(value, selectedOption, e) { | ||
this.setData({ value: value.detail[0] }); | ||
console.log('cityOk', value, selectedOption, e); | ||
}, | ||
handleChangeControlled: function () { | ||
handleChangeControlled() { | ||
this.setData({ value: ['31', '310'] }); | ||
}, | ||
handleClearControlled: function () { | ||
handleClearControlled() { | ||
this.setData({ value: [] }); | ||
}, | ||
handleDismiss: function (e) { | ||
handleDismiss(e) { | ||
console.log('handleDismiss', e); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Page({ | |
} | ||
] | ||
}, | ||
onChange: function (current) { | ||
onChange(current) { | ||
console.log(current); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Page({ | |
}, | ||
] | ||
}, | ||
onChange: function (current) { | ||
onChange(current) { | ||
console.log(current); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.