From 7040bb68cb727b967fca3f7e199a9b3284a699c3 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Sun, 23 Jul 2023 23:44:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=A7=86=E9=A2=91=E9=A2=84?= =?UTF-8?q?=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 8 +- src/views/test.vue | 239 +++++++++++++++++++++++++++++++++++++++++ src/views/ty/index.vue | 18 ++-- 3 files changed, 255 insertions(+), 10 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b5313d3..c8c6467 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -24,7 +24,13 @@ const routes = [ path: '/ty', name: 'ty', component: ()=>import("../views/ty/index.vue"), -} +}, + +{ + path: '/test', + name: 'test', + component: ()=>import("../views/test.vue"), +}, ] const router = new VueRouter({ diff --git a/src/views/test.vue b/src/views/test.vue index e69de29..51a2b6b 100644 --- a/src/views/test.vue +++ b/src/views/test.vue @@ -0,0 +1,239 @@ + + \ No newline at end of file diff --git a/src/views/ty/index.vue b/src/views/ty/index.vue index b30f63a..f0aa5da 100644 --- a/src/views/ty/index.vue +++ b/src/views/ty/index.vue @@ -42,11 +42,11 @@
-
+ +
@@ -55,7 +55,7 @@
-
--> +
@@ -178,11 +178,11 @@ export default { }, created() { // this.$nextTick 将回调延迟到下次DOM更新循环之后执行。在修改数据之后立即使用它,然后等待DOM更新 - // this.$nextTick(() => { - // this.initPlugin(); - // this.initPlugin2(); - // this.initPlugin3(); - // }); + this.$nextTick(() => { + this.initPlugin(); + this.initPlugin2(); + this.initPlugin3(); + }); },