From 49a93895a5849b2860012536a1b2c8f7c166ab60 Mon Sep 17 00:00:00 2001 From: yxw <17074267@qq.com> Date: Tue, 21 Nov 2023 18:39:08 +0800 Subject: [PATCH] fix --- filter.html | 12 ++++++------ home.html | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/filter.html b/filter.html index 65c571f..7e5ff0c 100644 --- a/filter.html +++ b/filter.html @@ -195,7 +195,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic1 = resData.content.mic1 bindData() @@ -227,7 +227,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic2 = resData.content.mic2 bindData() @@ -257,7 +257,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic1 = resData.content.mic1 bindData() @@ -287,7 +287,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic2 = resData.content.mic2 bindData() @@ -318,7 +318,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { if (module == 'mic1') { data.mic1 = resData.content.mic1 @@ -343,7 +343,7 @@ type: "GET", url: url, success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data = resData.content bindData() diff --git a/home.html b/home.html index 08b5eda..f996d5f 100644 --- a/home.html +++ b/home.html @@ -983,7 +983,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.lineinput = resData.content.lineinput bindData() @@ -1024,7 +1024,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.lineinput = resData.content.lineinput bindData() @@ -1067,7 +1067,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic1 = resData.content.mic1 bindData() @@ -1111,7 +1111,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.mic2 = resData.content.mic2 bindData() @@ -1153,7 +1153,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data.output = resData.content.output bindData() @@ -1185,7 +1185,7 @@ dataType: "json", contentType: "application/json; charset=utf-8", success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { if (module == 'lineinput') { data.lineinput = resData.content.lineinput @@ -1225,7 +1225,7 @@ type: "GET", url: url, success: function (res) { - let resData = $.parseJSON(res) + let resData = JSON.parse(res) if (resData.success) { data = resData.content lineinputValue = data.lineinput.audio