fix(web): fix bug in TDB query handling
This commit is contained in:
parent
52b54ba792
commit
789e24b675
@ -4,7 +4,7 @@ function tdb_query(trdb, trc, trb) {
|
||||
url: "/TDBMS",
|
||||
type: "POST",
|
||||
contentType: "application/json",
|
||||
data: `{"trdb":"${trdb}","trc":${trc},"trb":"${trb}"}`,
|
||||
data: `{"trdb":${JSON.stringify(trdb)},"trc":${trc},"trb":${JSON.stringify(trb)}}`,
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function (resp) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user