zycp-ddxcx/app.js

24 lines
565 B
JavaScript
Raw Normal View History

2022-03-09 07:06:54 +00:00
// 公共js
import toolAll from './utils/tools'
dd['$toolAll'] = toolAll;
import http from './utils/requst'
dd['$http'] = http;
import utils from '/utils/utils'
dd['utils'] = utils;
// dd['baseUrl'] = 'http://aspiration.scdxtc.cn';
dd['baseUrl'] = 'https://ypzy.emingren.com';
App({
onLaunch(options) {
// 第一次打开
// options.query == {number:1}
console.info('App onLaunch');
},
onShow(options) {
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
onHide(){
dd.removeStorageSync({key:'anliObj'})
},
});