zhangqiOMG 2 лет назад
Родитель
Сommit
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)