Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
c554d87f
Commit
c554d87f
authored
May 25, 2018
by
Rob Stupay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to return .data or .error
parent
534c9e3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
multiParamManager.js
src/multiParamManager.js
+11
-5
No files found.
src/multiParamManager.js
View file @
c554d87f
...
@@ -150,11 +150,17 @@ class MultiParamManager {
...
@@ -150,11 +150,17 @@ class MultiParamManager {
${
this
.
multiFields
}
${
this
.
multiFields
}
<div class="
${
css
.
group
}
${
css
.
multiArg
}
" >
<div class="
${
css
.
group
}
${
css
.
multiArg
}
" >
${
button
}
${
button
}
${
copyToClipboard
(()
=>
{
${
copyToClipboard
(
var
multiString
=
this
.
getMultiValsString
()
()
=>
{
var
multiJSON
=
JSON
.
parse
(
'['
+
multiString
+
']'
)
var
multiString
=
this
.
getMultiValsString
()
return
txFormat
.
encodeData
(
this
.
funABI
,
multiJSON
)
var
multiJSON
=
JSON
.
parse
(
'['
+
multiString
+
']'
)
},
'Encode values of input fields & copy to clipboard'
,
'fa-briefcase'
)}
var
encodeObj
=
txFormat
.
encodeData
(
this
.
funABI
,
multiJSON
)
if
(
encodeObj
.
error
)
{
return
encodeObj
.
error
}
else
{
return
encodeObj
.
data
}
},
'Encode values of input fields & copy to clipboard'
,
'fa-briefcase'
)}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div>
`
<
/div>
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment