Browse Source

Updated files

master
adiao 3 years ago
parent
commit
0c6ffd82b5
  1. 3
      vue生命周期笔记.md

3
vue生命周期笔记.md

@ -199,6 +199,7 @@ v-show初始值为false,在父组件的(created,beforeMount)生命周期变为tr
v-show初始值为false,在父组件的(mounted)生命周期将变为true时,顺序如下: v-show初始值为false,在父组件的(mounted)生命周期将变为true时,顺序如下:
第三种情况 第三种情况
```bash
父 --> beforeCreate 父 --> beforeCreate
父 --> created 父 --> created
@ -222,7 +223,7 @@ v-show初始值为false,在父组件的(mounted)生命周期将变为true时,
孙组件的生命周期 孙组件的生命周期
```html ```HTML
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>

Loading…
Cancel
Save