适配wkit1.12.3, 自定义组件名
parent
a9ff9f0323
commit
f30eac2195
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wkitd",
|
||||
"version": "1.3.10",
|
||||
"version": "1.3.11",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
|
|
|
@ -92,7 +92,7 @@ export function createApp({
|
|||
}
|
||||
}
|
||||
}
|
||||
App.reg('app')
|
||||
App.reg('app', 'v')
|
||||
}
|
||||
})()
|
||||
}
|
||||
|
|
|
@ -191,10 +191,5 @@ class RouterLink extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
if (!customElements.get('router-view')) {
|
||||
customElements.define('router-view', RouterView)
|
||||
}
|
||||
|
||||
if (!customElements.get('router-link')) {
|
||||
customElements.define('router-link', RouterLink)
|
||||
}
|
||||
RouterView.reg('view', 'router')
|
||||
RouterLink.reg('link', 'router')
|
||||
|
|
Loading…
Reference in New Issue