From 9c62923cb3258d2f2394833d2bdfd4b1527bac5e Mon Sep 17 00:00:00 2001 From: xiaoan <419177984@qq.com> Date: Sun, 26 May 2024 12:04:56 +0800 Subject: [PATCH] fix comment --- static/html/dashboard.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/html/dashboard.html b/static/html/dashboard.html index 1e9b8b3..7676508 100644 --- a/static/html/dashboard.html +++ b/static/html/dashboard.html @@ -235,17 +235,16 @@ async: false }); }, - open_qunti: function (mind_id) { + open_pinglun: function (mind_id) { const me = this $.ajax({ type: "post", - url: "qunti", + url: "pinglun", headers: {"X-CSRFToken": $.cookie("csrftoken")}, data: {'id': mind_id}, dataType: "json", success: function (resp) { - window.location.href = resp.data; - console.log(resp) + me.show_share_url(mind_id) }, async: false });