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.
14 lines
465 B
14 lines
465 B
|
3 years ago
|
import {
|
||
|
|
requestComponentInfo as requestVueComponentInfo
|
||
|
|
} from 'uni-platforms/h5/service/api/ui/request-component-info'
|
||
|
|
|
||
|
|
import {
|
||
|
|
requestComponentInfo as requestNVueComponentInfo
|
||
|
|
} from 'uni-platforms/app-plus-nvue/service/api/ui/request-component-info'
|
||
|
|
|
||
|
|
export function requestComponentInfo (pageVm, queue, callback) {
|
||
|
|
pageVm.$page.meta.isNVue
|
||
|
|
? requestNVueComponentInfo(pageVm, queue, callback)
|
||
|
|
: requestVueComponentInfo(pageVm, queue, callback)
|
||
|
|
}
|