From 66af08822575a7be7717a8536353fc6a776399f5 Mon Sep 17 00:00:00 2001 From: xiesi <305492881@qq.com> Date: Sat, 5 Jun 2021 23:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E9=80=9A=E8=BF=87=E6=8A=BD?= =?UTF-8?q?=E5=B1=89=20=20=E5=88=87=E6=8D=A2=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home.vue | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index d891a45..a597efc 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -27,7 +27,7 @@ @@ -39,8 +39,16 @@ - - + + @@ -53,14 +61,27 @@ export default { LoadFBX, }, methods: { + ondrawerbuttonclick() { + this.curefbxname = this.fbxnamelist[this.count++ % 2]; + console.log("click : " + this.curefbxname); + this.drawer = true; + }, + aa() { console.log("aa"); this.$refs.myfbx.hello(); }, + cc() { + console.log("cc"); + this.$refs.myfbx.hello(); + }, }, data() { return { drawer: false, + fbxnamelist: ["a.fbx", "b.fbx"], + curefbxname: "a.fbx", + count: 0, }; }, }; -- GitLab