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.
10 lines
373 B
10 lines
373 B
import parseBaseComponent from '../../../mp-weixin/runtime/wrapper/component-parser'
|
|
|
|
export default function parseComponent (vueComponentOptions) {
|
|
const componentOptions = parseBaseComponent(vueComponentOptions)
|
|
|
|
componentOptions.methods.$getAppWebview = function () {
|
|
return plus.webview.getWebviewById(`${this.__wxWebviewId__}`)
|
|
}
|
|
return componentOptions
|
|
}
|
|
|