okam-core
Version:
The extension for small program framework
31 lines (24 loc) • 377 B
JavaScript
/**
* @file The app base
* @author sparklewhy@gmail.com
*/
;
import initApi from './init-api';
export default {
/**
* The hook when app launch
*
* @private
*/
onLaunch() {
initApi.call(this);
},
/**
* The hook when app show
*
* @private
*/
onShow() {
initApi.call(this);
}
};