tianyun 2 năm trước cách đây
mục cha
commit
bb16465f36
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      simple-demo/send_memos.html

+ 5 - 1
simple-demo/send_memos.html

@@ -82,7 +82,11 @@
         // 发送异步请求
         requestUtil.async('https://memos.tianyunperfect.cn/api/memo?openId=043a086f-e0a3-4711-aa79-5c3cbe89f97c', 'post', data, {
             'Content-type': 'application/json'
-        }).then(data => console.log(data));
+        }).then(res => {
+            if (res['data']) {
+                showMsg("发送成功", 1);
+            }
+        });
     }
 
     // 获取选择的分类