修改仓库地址;优化生命周期的触发
parent
4c3d3eae21
commit
87496a1487
|
@ -5,7 +5,7 @@
|
||||||
![version](https://img.shields.io/npm/v/wkit.svg)
|
![version](https://img.shields.io/npm/v/wkit.svg)
|
||||||
|
|
||||||
### 开发文档
|
### 开发文档
|
||||||
[开发文档](https://github.com/bytedo/wkit/wiki)
|
[开发文档](https://git.wkit.fun/bytedo/wkit/wiki)
|
||||||
|
|
||||||
|
|
||||||
### 我们的特色
|
### 我们的特色
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wkit",
|
"name": "wkit",
|
||||||
"version": "1.10.4",
|
"version": "1.10.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "A library for building fast, lightweight web components.",
|
"description": "A library for building fast, lightweight web components.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/bytedo/wkit.git"
|
"url": "git+https://git.wkit.fun/bytedo/wkit.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"wkit",
|
"wkit",
|
||||||
|
|
|
@ -361,11 +361,11 @@ export class Component extends HTMLElement {
|
||||||
this.$animate()
|
this.$animate()
|
||||||
}
|
}
|
||||||
if (this.__keep_alive__) {
|
if (this.__keep_alive__) {
|
||||||
this.activated()
|
nextTick(_ => this.activated())
|
||||||
}
|
}
|
||||||
this.mounted()
|
nextTick(_ => this.mounted())
|
||||||
} else {
|
} else {
|
||||||
this.updated(props)
|
nextTick(_ => this.updated(props))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue