1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| 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'
|
|