diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\350\203\214\345\220\216\347\232\204\346\225\205\344\272\213/exercises.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\350\203\214\345\220\216\347\232\204\346\225\205\344\272\213/exercises.json" index 6b3f80efe8a25b2da5ad21c00bee2407777b3505..6397116f40796ab80fb3ed2a272046b96462b7b0 100644 --- "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\350\203\214\345\220\216\347\232\204\346\225\205\344\272\213/exercises.json" +++ "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\350\203\214\345\220\216\347\232\204\346\225\205\344\272\213/exercises.json" @@ -3,5 +3,5 @@ "author": "JHXL_", "source": "exercises.md", "notebook_enable": false, - "exercise_id": "1d5731d11b5a40bfa4325b16a1bcc63a" + "exercise_id": "9343839125bb4c9fb7f6d6ea4acbabbc" } \ No newline at end of file diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/config.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/config.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/config.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/config.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/exercises.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/exercises.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/exercises.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/exercises.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/exercises.md" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/exercises.md" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/1.Vue\347\256\200\344\273\213/exercises.md" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.Vue\347\256\200\344\273\213/exercises.md" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/config.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/config.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/config.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/config.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/exercises.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/exercises.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/exercises.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/exercises.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/exercises.md" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/exercises.md" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/2.MVVM\345\223\215\345\272\224\345\274\217/exercises.md" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\345\223\215\345\272\224\345\274\217/exercises.md" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/config.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/config.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/config.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/config.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/exercises.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/exercises.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/exercises.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/exercises.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/exercises.md" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/exercises.md" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/3.MVVM\344\274\230\347\202\271/exercises.md" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.MVVM\344\274\230\347\202\271/exercises.md" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/config.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/config.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/config.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/config.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/exercises.json" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/exercises.json" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/exercises.json" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/exercises.json" diff --git "a/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/exercises.md" "b/data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/exercises.md" similarity index 100% rename from "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/4.Vue\345\222\214jQuery/exercises.md" rename to "data/1.Vue\345\210\235\351\230\266/1.Vue\346\230\257\344\273\200\344\271\210\357\274\237/5.Vue\345\222\214jQuery/exercises.md" diff --git "a/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/1.SSR/config.json" "b/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/1.SSR/config.json" index ddf281865df9a5e7d1c592f866b5ed004b325a24..011f07fd784812b61a5c51d4cc7701282c8d8e42 100644 --- "a/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/1.SSR/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/1.SSR/config.json" @@ -5,7 +5,9 @@ "SSR" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "SSR" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/2.Nuxt.js/config.json" "b/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/2.Nuxt.js/config.json" index 0b10e08b761c57d92751dff42cfc0eb4c1d86f0d..6e7f6befe18d9501cb71215e602143d73f623bbb 100644 --- "a/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/2.Nuxt.js/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/1.Vue\346\234\215\345\212\241\347\253\257\346\270\262\346\237\223/2.Nuxt.js/config.json" @@ -4,7 +4,9 @@ "Nuxt.js" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "Nuxt.js" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/1.render\345\207\275\346\225\260/config.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/1.render\345\207\275\346\225\260/config.json" index c7c22ca9c53f6a643c7fe2610ed98feef3154a90..a2a20b5e5260ab43da9a0ebfdb12448d68ccc40a 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/1.render\345\207\275\346\225\260/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/1.render\345\207\275\346\225\260/config.json" @@ -4,7 +4,9 @@ "render" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "render" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/config.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/config.json" index 11a60b39b2ac7d1beb2f80e3cb268d1d8ad60a9a..d70c7483a08bd1497b8fd84f47af2333fa17af0e 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/config.json" @@ -4,7 +4,9 @@ "createElement" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "createElement" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/exercises.json" index 774cbbec97823974a13471e89ef0e1bbb7fd2c3c..830e20a469c6d890d3df925ab8b04653adf8644c 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/exercises.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/2.createElement\345\217\202\346\225\260/exercises.json" @@ -3,5 +3,5 @@ "author": "zhaoshuangshi", "source": "exercises.md", "notebook_enable": false, - "exercise_id": "c39802e0a80948a5b6225ac98fa33dcd" + "exercise_id": "4d356682390f480bbd0a6fb578b84c83" } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/config.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/config.json" index decb503e4fa64a2c99d929c0c539cb556da9225d..d421c45856fd0ae7e72c51efcfb9b55ce4766f0a 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/config.json" @@ -4,7 +4,9 @@ "JSX" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "JSX" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/exercises.json" index 774cbbec97823974a13471e89ef0e1bbb7fd2c3c..73bc740a935404ca07da0906795edbf94922568f 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/exercises.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/3.JSX/exercises.json" @@ -3,5 +3,5 @@ "author": "zhaoshuangshi", "source": "exercises.md", "notebook_enable": false, - "exercise_id": "c39802e0a80948a5b6225ac98fa33dcd" + "exercise_id": "a44cff1364c544e58c5577adcc47c58e" } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/config.json" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/config.json" index b07b0b7943b644255bd58d02234b1569ea6d39f5..df75d76f91d0f1da2b2271ccbc587c19013ad3c4 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/config.json" @@ -4,7 +4,9 @@ "函数组件化" ], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [ "函数组件化" ], diff --git "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/exercises.md" "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/exercises.md" index 1b2cf171be4f56975f7fb58f4ec89b6152df64b2..420fbf397e5194a6c2097abf6dc5bff86b09fa18 100644 --- "a/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/exercises.md" +++ "b/data/3.Vue\351\253\230\351\230\266/2.\346\270\262\346\237\223\345\207\275\346\225\260&JSX/4.\345\207\275\346\225\260\345\274\217\347\273\204\344\273\266/exercises.md" @@ -1,4 +1,3 @@ - # 函数式组件 在Vue中,函数式组件的特点是什么? diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/config.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/config.json" index 89c80d802de0cd83bf593536b7fc408dd604ccaf..2f9c6e74f3ba3a4fd43a022ad97eefb15fcb54e6 100644 --- "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/config.json" @@ -2,7 +2,9 @@ "node_id": "vue-2264eaa86af346ada222d824dbf4f251", "keywords": [], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [], "keywords_forbid": [] } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.json" new file mode 100644 index 0000000000000000000000000000000000000000..eb9393185a27befbf730366f4e3f7325dcdaca00 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": null, + "source": "exercises.md", + "notebook_enable": false, + "exercise_id": "87c72263370b489c97d77ceac47a4ac6" +} \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.md" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.md" new file mode 100644 index 0000000000000000000000000000000000000000..3d33ca7e9f1ce14823add71340464371abfe2a48 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/1.\346\267\267\345\205\245\347\232\204\344\275\277\347\224\250/exercises.md" @@ -0,0 +1,22 @@ +# 混入的使用 + +在Vue中使用混入的作用是什么? + +## 答案 + +用于向组件注入特定的方法或属性。 + +## 选项 + +### A + +用于在组件中引入其他组件。 + +### B + +用于在组件中定义数据模型。 + +### C + +用于在组件中渲染特定的HTML元素。 + diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/config.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/config.json" index ff29dbe64861eb2c40b3076baa3756915228be30..3cbfe2c87337d3493c5959e3205f25cec6c090bd 100644 --- "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/config.json" @@ -2,7 +2,9 @@ "node_id": "vue-5f2921b71ba146f28ad7ae318340f757", "keywords": [], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [], "keywords_forbid": [] } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.json" new file mode 100644 index 0000000000000000000000000000000000000000..29ab9198b0b3cc16cb5945b41dedde9f2f21aa24 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": null, + "source": "exercises.md", + "notebook_enable": false, + "exercise_id": "3a7a26d26337428d92011e05184efe8f" +} \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.md" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.md" new file mode 100644 index 0000000000000000000000000000000000000000..be3796fab63f94ac12e2bdd929630596e6529f47 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/2.\351\200\211\351\241\271\345\220\210\345\271\266/exercises.md" @@ -0,0 +1,23 @@ +# 选项合并 + +当一个组件和混入对象都定义了同名的选项时,它们会如何合并? + + +## 答案 + +组件选项会覆盖混入对象的选项。 + +## 选项 + +### A + +混入对象的选项会覆盖组件选项。 + +### B + +Vue会自动解决冲突,并将它们合并成一个选项。 + +### C + +会抛出一个错误,要求我们手动解决冲突。 + diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/config.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/config.json" index 3f817b2d8e03caabb00741821b13b237951efb28..cc43d4ae6f9980694b98c02c3d81280f78b0ebc5 100644 --- "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/config.json" @@ -2,7 +2,9 @@ "node_id": "vue-12334bd7fc854840bc99e3a7cf1ceaa3", "keywords": [], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [], "keywords_forbid": [] } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.json" new file mode 100644 index 0000000000000000000000000000000000000000..896e1d9a56ef339352d5db4f656adc326f629740 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": null, + "source": "exercises.md", + "notebook_enable": false, + "exercise_id": "43a64878427c46dd8af276a65a494600" +} \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.md" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.md" new file mode 100644 index 0000000000000000000000000000000000000000..7bb8a189eed1fe590df4e217e8bf096395eeb07a --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/3.\345\205\250\345\261\200\346\267\267\345\205\245/exercises.md" @@ -0,0 +1,43 @@ +# 函数式组件 + +```javaScript + +// 创建一个全局混入对象 +Vue.mixin({ + created: function () { + console.log('全局混入对象已创建') + } +}) + +// 创建一个组件 +var myComponent = Vue.extend({ + created: function () { + console.log('组件已创建') + } +}) + +// 使用组件 +new myComponent() + +``` + +上面的代码展示了如何在Vue中创建一个全局混入对象。这段代码会输出什么? + +## 答案 + +会先输出“全局混入对象已创建”,然后输出“组件已创建”。 + +## 选项 + +### A + +只会输出“组件已创建”。 + +### B + +只会输出“全局混入对象已创建”。 + +### C + +会先输出“组件已创建”,然后输出“全局混入对象已创建”。 + diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/config.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/config.json" index d1aeeb1c85048efa6a08ebf2ab98c4724198c3be..eb3d8c13bcbacce88334c115e2231008cb924cf1 100644 --- "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/config.json" +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/config.json" @@ -2,7 +2,9 @@ "node_id": "vue-f6cd70121d7d43a9b87966012f4163a2", "keywords": [], "children": [], - "export": [], + "export": [ + "exercises.json" + ], "keywords_must": [], "keywords_forbid": [] } \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.json" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.json" new file mode 100644 index 0000000000000000000000000000000000000000..d1d73c0ad58d2174a30ea3f5d445df707805a681 --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": null, + "source": "exercises.md", + "notebook_enable": false, + "exercise_id": "0859b22e34bc43b9a51bf03e3aa7cc30" +} \ No newline at end of file diff --git "a/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.md" "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.md" new file mode 100644 index 0000000000000000000000000000000000000000..0bc85035ff34f91339f0c006331366976ebe894a --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/4.Mixin\346\267\267\345\205\245/4.\350\207\252\345\256\232\344\271\211\351\200\211\351\241\271\347\255\226\347\225\245/exercises.md" @@ -0,0 +1,23 @@ +# 自定义选项策略 + +为一个Vue应用程序编写一个混入对象,该混入对象需要有一个名为title的选项。你想要自定义选项策略以确保title选项始终具有正确的值。以下哪种选项策略是正确的? + + +## 答案 + +使用Vue.config.optionMergeStrategies来覆盖title选项的默认合并策略,然后在自定义合并函数中始终返回混入对象的title值。 + +## 选项 + +### A + +在混入对象中定义一个名为title的函数,并在该函数中返回混入对象的title值。然后,在创建Vue实例时,将该函数作为title选项的值传递给Vue构造函数。 + +### B + +在混入对象中定义一个名为title的监听器函数,并在该函数中返回混入对象的title值。然后,在使用混入对象的组件中,使用 watch 选项将该函数添加到组件的选项中。 + +### C + +在混入对象中定义一个名为title的计算属性,并在该计算属性中返回混入对象的title值。然后,在使用混入对象的组件中,将该计算属性添加到组件的computed选项中。 + diff --git "a/data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/diff\347\256\227\346\263\225/config.json" "b/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/1.diff\347\256\227\346\263\225/config.json" similarity index 100% rename from "data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/diff\347\256\227\346\263\225/config.json" rename to "data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/1.diff\347\256\227\346\263\225/config.json" diff --git "a/data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/\346\214\202\345\234\250\344\270\216\346\233\264\346\226\260/config.json" "b/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/2.\346\214\202\345\234\250\344\270\216\346\233\264\346\226\260/config.json" similarity index 100% rename from "data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/\346\214\202\345\234\250\344\270\216\346\233\264\346\226\260/config.json" rename to "data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/2.\346\214\202\345\234\250\344\270\216\346\233\264\346\226\260/config.json" diff --git "a/data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/\346\270\262\346\237\223\345\231\250\347\232\204\350\256\276\350\256\241/config.json" "b/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/3.\346\270\262\346\237\223\345\231\250\347\232\204\350\256\276\350\256\241/config.json" similarity index 100% rename from "data/3.Vue\351\253\230\351\230\266/\346\270\262\346\237\223\345\231\250/\346\270\262\346\237\223\345\231\250\347\232\204\350\256\276\350\256\241/config.json" rename to "data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/3.\346\270\262\346\237\223\345\231\250\347\232\204\350\256\276\350\256\241/config.json" diff --git "a/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/config.json" "b/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/config.json" new file mode 100644 index 0000000000000000000000000000000000000000..fb2e88dab08b69a91bb62a64dc6c8408dba94bfd --- /dev/null +++ "b/data/3.Vue\351\253\230\351\230\266/9.\346\270\262\346\237\223\345\231\250/config.json" @@ -0,0 +1,6 @@ +{ + "node_id": "vue-ccfffc43755249efbee6ca3706d49aef", + "keywords": [], + "keywords_must": [], + "keywords_forbid": [] +} \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index afa2abf90a9ae31281882024706e2596303f760c..cbe9cc9bc6b9ad57d7eb6897b3de47d3054cf412 100644 --- a/data/tree.json +++ b/data/tree.json @@ -13,6 +13,21 @@ "node_id": "vue-f92d37226dc14bb58918663305bfc15b", "keywords": [], "children": [ + { + "Vue背后的故事": { + "node_id": "vue-712ec6452ab547478479a4509f787517", + "keywords": [ + "Vue背后的故事" + ], + "children": [], + "keywords_must": [ + [ + "尤雨溪" + ] + ], + "keywords_forbid": [] + } + }, { "Vue简介": { "node_id": "vue-712ec6452ab547478479a4509f787517", @@ -28,9 +43,7 @@ "简介" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -49,9 +62,7 @@ "响应式" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -69,9 +80,7 @@ "优点" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -89,16 +98,12 @@ "query" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -124,9 +129,7 @@ "配置" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -142,9 +145,7 @@ "命令" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -160,16 +161,12 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -190,9 +187,7 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -213,9 +208,7 @@ "初始化" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -232,9 +225,7 @@ "生命周期" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -250,9 +241,7 @@ "指令" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -269,9 +258,7 @@ "计算属性" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -288,16 +275,12 @@ "侦听器" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -318,9 +301,7 @@ "插值表达式" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -337,9 +318,7 @@ "过滤器" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -358,9 +337,7 @@ "绑定" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -379,16 +356,12 @@ "修饰符" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -408,9 +381,7 @@ "keywords_must": [ "V-model" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -427,23 +398,17 @@ "修饰符" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -471,9 +436,7 @@ "组件" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -492,9 +455,7 @@ ], "keywords_forbid": [ "非父子" - ], - "group": 0, - "subtree": "" + ] } }, { @@ -512,9 +473,7 @@ "通信" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -535,9 +494,7 @@ "插槽" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -558,16 +515,12 @@ "异步组件" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -589,9 +542,7 @@ "介绍" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -610,9 +561,7 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -629,9 +578,7 @@ "导航" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -647,9 +594,7 @@ "动态路由" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -666,9 +611,7 @@ "传参" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -692,9 +635,7 @@ "别名" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -710,9 +651,7 @@ "路由模式" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -731,9 +670,7 @@ ], "keywords_forbid": [ "后置" - ], - "group": 0, - "subtree": "" + ] } }, { @@ -750,16 +687,12 @@ ], "keywords_forbid": [ "前置" - ], - "group": 0, - "subtree": "" + ] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -781,9 +714,7 @@ "介绍" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -804,9 +735,7 @@ "配置" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -823,9 +752,7 @@ "核心" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -842,16 +769,12 @@ "api" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -873,9 +796,7 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -893,9 +814,7 @@ "项目" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -911,9 +830,7 @@ "命令" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -930,9 +847,7 @@ "配置" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -946,16 +861,12 @@ "keywords_must": [ "ESLint" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -984,9 +895,7 @@ "使用" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1006,9 +915,7 @@ "配置" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1034,9 +941,7 @@ "请求" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1056,16 +961,12 @@ "跨域" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1088,9 +989,7 @@ "模块化" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1107,9 +1006,7 @@ "介绍" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1125,9 +1022,7 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1144,9 +1039,7 @@ "使用" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1163,16 +1056,12 @@ "配置" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1194,9 +1083,7 @@ "介绍" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1212,9 +1099,7 @@ "语法" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1231,9 +1116,7 @@ "占位符" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1251,16 +1134,12 @@ "安装" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1284,9 +1163,7 @@ "自定义指令" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1306,9 +1183,7 @@ "钩子函数" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1325,16 +1200,12 @@ "参数" ] ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1343,16 +1214,12 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1376,9 +1243,7 @@ "keywords_must": [ "SSR" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1391,25 +1256,47 @@ "keywords_must": [ "Nuxt.js" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "render函数": { + "渲染函数&JSX": { "node_id": "vue-73261f726a14489e88b77362f70f0ca1", "keywords": [], "children": [ { - "jsX": { + "render函数": { + "node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", + "keywords": [ + "render" + ], + "children": [], + "keywords_must": [ + "render" + ], + "keywords_forbid": [] + } + }, + { + "createElement参数": { + "node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", + "keywords": [ + "createElement" + ], + "children": [], + "keywords_must": [ + "createElement" + ], + "keywords_forbid": [] + } + }, + { + "JSX": { "node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "keywords": [ "JSX" @@ -1418,13 +1305,11 @@ "keywords_must": [ "JSX" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "函数组件化": { + "函数式组件": { "node_id": "vue-a6b06c7e1851473cba801f224f23eaaf", "keywords": [ "函数组件化" @@ -1433,16 +1318,12 @@ "keywords_must": [ "函数组件化" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1456,9 +1337,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1467,9 +1346,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1478,9 +1355,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1489,16 +1364,12 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1512,9 +1383,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1523,9 +1392,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1534,9 +1401,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1545,16 +1410,12 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1568,9 +1429,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1579,9 +1438,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1590,27 +1447,12 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" - } - }, - { - "VirtualDOM与diff(Vue实现)": { - "node_id": "vue-0759f9427f394fcfb5176b9fb0dba8b3", - "keywords": [], - "children": [], - "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1624,9 +1466,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1635,9 +1475,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1646,83 +1484,103 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "vue3混合API": { + "vue3基础(JS)": { "node_id": "vue-6f35e771239f466b97d2e8fbf6a8929c", "keywords": [], "children": [ { - "setup函数": { + "Vue3现状": { "node_id": "vue-c59c2a7737e041b285e2d57db6824801", "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "ref函数的使用": { + "构建工具Vite": { "node_id": "vue-6d10a5c3df5f46529a3e12b6b13c4e29", "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "reactive函数的使用": { + "setup函数": { "node_id": "vue-f56c90e570e04ff9896d897fa6f3a7b9", "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { - "watch与watchEffect": { + "reactive函数": { "node_id": "vue-4d0274888ac942b1842228586af52671", "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] + } + }, + { + "ref函数": { + "node_id": "vue-05e2cff6f70448148794adeeae4d3285", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "computed函数、watch函数": { + "node_id": "vue-05e2cff6f70448148794adeeae4d3285", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "Vue3的生命周期函数": { + "node_id": "vue-05e2cff6f70448148794adeeae4d3285", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "Vue3获取DOM、操作组件": { + "node_id": "vue-05e2cff6f70448148794adeeae4d3285", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] } }, { - "自定义hook": { + "Vue3组件通信": { "node_id": "vue-05e2cff6f70448148794adeeae4d3285", "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1736,9 +1594,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1749,9 +1605,7 @@ "keywords_must": [ "Object.defineProperty" ], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1760,9 +1614,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1771,9 +1623,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1782,9 +1632,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1793,9 +1641,7 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } }, { @@ -1804,29 +1650,58 @@ "keywords": [], "children": [], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] + } + } + ], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "渲染器": { + "node_id": "vue-ccfffc43755249efbee6ca3706d49aef", + "keywords": [], + "children": [ + { + "diff算法": { + "node_id": "vue-c59c2a7737e041b285e2d57db6824801", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "挂在与更新": { + "node_id": "vue-c59c2a7737e041b285e2d57db6824801", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] + } + }, + { + "渲染器的设计": { + "node_id": "vue-c59c2a7737e041b285e2d57db6824801", + "keywords": [], + "children": [], + "keywords_must": [], + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } ], "keywords_must": [], - "keywords_forbid": [], - "group": 0, - "subtree": "" + "keywords_forbid": [] } } \ No newline at end of file