xjc 4 lat temu
rodzic
commit
5173b456ee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/message/Message.vue

+ 1 - 1
src/views/message/Message.vue

@@ -556,7 +556,7 @@ export default {
         let _this = this;
       this.title = row.name;
       this.message_id = row.id;
-      this.$api.getTemplate({ id: row.template_id }).then((res) => {
+      this.$api.getMessageInfo({ id: row.id }).then((res) => {
         if (res.data.code == 0) {
           this.widgetList = res.data.data.widget;
           this.widgetList.forEach((i) => {