diff --git a/src/views/Home.vue b/src/views/Home.vue index d891a45cb4c1d1c2bcfcd033c51379a26f93b173..a597efc93525e98aa17a302f483a8eded2637bfd 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, }; }, };