Kaynağa Gözat

Merge branch 'develop/3.1.4' into test

DESKTOP-SVI9JE1\muzen 1 yıl önce
ebeveyn
işleme
4c7564fb57
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      src/pages/content/index.vue

+ 4 - 4
src/pages/content/index.vue

@@ -51,14 +51,14 @@ export default {
     }
   },
   onLoad(e) {
-    if (e.id) {
-      this.getDetail(e.id)
+    if (e.articleId) {
+      this.getDetail(e.articleId)
     }
   },
   methods: {
-    getDetail(id) {
+    getDetail(articleId) {
       detail({
-        articleId: id
+        articleId: articleId
       }).then(res => {
         if (res.data.code === 0) {
           if (res.data.data.templateType == 1) {