mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed post params
This commit is contained in:
parent
4e1d9815cd
commit
f4ba4210e1
@ -211,8 +211,8 @@ export function Gpio(__recorder) {
|
||||
}
|
||||
};
|
||||
|
||||
var __sendPost = function(url) {
|
||||
tools.httpPost(url, function(http) {
|
||||
var __sendPost = function(url, params) {
|
||||
tools.httpPost(url, params, function(http) {
|
||||
if (http.status === 409) {
|
||||
wm.error("Performing another operation for this GPIO channel.<br>Please try again later");
|
||||
} else if (http.status !== 200) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user