瀏覽代碼

代码上传

zhangqiOMG 2 年之前
父節點
當前提交
4628f1952d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/mindmap/index.vue

+ 1 - 1
src/components/mindmap/index.vue

@@ -33,7 +33,7 @@ export default {
   methods:{
     onShow () {
       this.drawer = true
-      next(() => {
+      this.$nextTick(() => {
         switch (this.name) {
           case 'custom':
             console.log(this.$refs.custom)