Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
26791df8623275e50670b7826af4a9fdc9726556
Authored by
vking
2019-08-29 12:32:02 +0800
1 parent
45415551
build: skipped
log
Changes
1
Builds
0
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
utils/api.js
utils/api.js
View file @
26791df
...
...
@@ -26,7 +26,7 @@ function rpc(host='',act,data={},fouce=false,header={},silence=true,cachetime=0,
let
param
=
""
;
for
(
let
key
in
data
){
let
val
=
data
[
key
];
if
(
val
!==
""
){
if
(
val
!==
""
&&
val
!==
null
){
param
+=
'&'
+
key
+
'='
+
val
}
}
...
...
Please
register
or
login
to post a comment