Prechádzať zdrojové kódy

点击图片进入编辑页面

haojianlong 4 rokov pred
rodič
commit
ece195c533
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/components/homeView/topoImageCard.vue

+ 1 - 1
src/components/homeView/topoImageCard.vue

@@ -105,7 +105,7 @@ export default {
     },
     // 进入编辑页面
     toEdit() {
-      console.log(123123);
+      this.$router.push({ name: 'Editer', query: { graphId: this.data.graphId, id: this.data.id } })
     }
   },
 };