You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
473 B
29 lines
473 B
import initOn from 'uni-core/service/bridge/on'
|
|
import initSubscribe from 'uni-core/service/bridge/subscribe'
|
|
|
|
import {
|
|
uni
|
|
} from 'uni-core/service/uni'
|
|
|
|
import {
|
|
getApp,
|
|
getCurrentPages
|
|
}
|
|
from 'uni-core/service/plugins/app'
|
|
|
|
initOn(UniServiceJSBridge.on, {
|
|
getApp,
|
|
getCurrentPages
|
|
})
|
|
|
|
initSubscribe(UniServiceJSBridge.subscribe, {
|
|
getApp,
|
|
getCurrentPages
|
|
})
|
|
|
|
export default uni
|
|
export {
|
|
getApp,
|
|
getCurrentPages
|
|
}
|
|
from 'uni-core/service/plugins/app'
|
|
|