Commit 38e237cc authored by rockyl's avatar rockyl

优化button

parent 217c86c6
......@@ -235,15 +235,15 @@ export class Component extends HashObject {
}
}
_dealGlobalTouchBegin(e): boolean|void {
_dealGlobalTouchBegin(e) {
return this.onGlobalTouchBegin(e);
}
_dealGlobalTouchMove(e): boolean|void {
_dealGlobalTouchMove(e) {
return this.onGlobalTouchMove(e);
}
_dealGlobalTouchEnd(e): boolean|void {
_dealGlobalTouchEnd(e) {
return this.onGlobalTouchEnd(e);
}
......@@ -251,7 +251,7 @@ export class Component extends HashObject {
* 当全局触摸开始
* @param e
*/
onGlobalTouchBegin(e): boolean|void {
onGlobalTouchBegin(e) {
return false;
}
......@@ -259,7 +259,7 @@ export class Component extends HashObject {
* 当全触摸移动
* @param e
*/
onGlobalTouchMove(e): boolean|void {
onGlobalTouchMove(e) {
return false;
}
......@@ -267,7 +267,7 @@ export class Component extends HashObject {
* 当全触摸结束
* @param e
*/
onGlobalTouchEnd(e): boolean | void {
onGlobalTouchEnd(e) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment