fix
parent
72a098fdee
commit
95bf3b5af8
|
@ -195,6 +195,7 @@
|
|||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function (res) {
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
data.mic1 = res.content.mic1
|
||||
bindData()
|
||||
|
@ -226,6 +227,7 @@
|
|||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function (res) {
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
data.mic2 = res.content.mic2
|
||||
bindData()
|
||||
|
@ -255,6 +257,7 @@
|
|||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function (res) {
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
data.mic1 = res.content.mic1
|
||||
bindData()
|
||||
|
@ -284,6 +287,7 @@
|
|||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function (res) {
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
data.mic2 = res.content.mic2
|
||||
bindData()
|
||||
|
@ -314,6 +318,7 @@
|
|||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function (res) {
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
if (module == 'mic1') {
|
||||
data.mic1 = res.content.mic1
|
||||
|
@ -338,8 +343,7 @@
|
|||
type: "GET",
|
||||
url: url,
|
||||
success: function (res) {
|
||||
console.log(typeof(res))
|
||||
console.log(res.success)
|
||||
let res = $.parseJSON(res)
|
||||
if (res.success) {
|
||||
data = res.content
|
||||
bindData()
|
||||
|
|
Loading…
Reference in New Issue