From 0cf35700693b0cffd805686c58ad98d5147eccdd Mon Sep 17 00:00:00 2001 From: aqu415 Date: Sun, 13 Feb 2022 13:58:24 +0800 Subject: [PATCH] update --- static/html/list.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/html/list.html b/static/html/list.html index 821079d..a0a15bb 100644 --- a/static/html/list.html +++ b/static/html/list.html @@ -222,7 +222,10 @@ $.post('create', {'mind_name': mind_name, 'snapshot_data': view.json2string(snapshot_data)}, function (resp) { layer.closeAll() view.fetch_data() - console.log(resp) + + // 新页面打开 + const id = resp.data + window.open('detail?id=' + id) }) // post end } else {