@@ -87,8 +87,8 @@
requestUtil.async('https://memos.tianyunperfect.cn/api/v1/memo?openId=043a086f-e0a3-4711-aa79-5c3cbe89f97c', 'post', data, {
'Content-type': 'application/json'
}).then(res => {
- if (res['data']) {
- showMsg("发送成功", 1);
+ if (res['id']) {
+ window.location.href = `https://memos.tianyunperfect.cn/m/${res['id']}`;
}
});