Explorar o código

修改重复调用接口

haojianlong %!s(int64=4) %!d(string=hai) anos
pai
achega
67eb0891e2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/components/baseEditer.vue

+ 1 - 0
src/components/baseEditer.vue

@@ -320,6 +320,7 @@ export default {
       document.getElementById("canvas").focus();
     },
     getBus() {
+      bus.$off()
       bus.$on("changeText", val => {
         this.scene.updatedText(val);
       });