3 Commits

Author SHA1 Message Date
Frank.R.Wu
cdcdfbdfde fix: add a lost file
add jquery-2.1.4.js to fix frontend bugs
2021-12-23 21:40:54 +08:00
CaiHQ
d0f8af9851 optimize: use jquery 2.1.4.min
refactor: DOA Contract
update: use doip sdk 1.0.2
2021-12-22 22:07:51 +08:00
Frank.R.Wu
965ee67409 fix: fix bugs in executeContract of NodeContractInstances.js 2021-12-12 12:25:36 +08:00
3 changed files with 22 additions and 9227 deletions

Binary file not shown.

9214
jqueryui1.12/jquery-2.1.4.js vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

View File

@@ -400,7 +400,7 @@ function executeContract() {
console.log(request.arg);
const gasLimit = $('#gasLimit').val() / 1;
var toSign = request.contractID + "|"
+ request.operation + "|" + arg ;
+ request.operation + "|" + request.arg;
if (gasLimit > 0) {
request.gasLimit = gasLimit;
toSign += "|" + gasLimit;
@@ -474,6 +474,7 @@ function getMask() {
localStorage.setItem("persisArg", JSON.stringify(request));
global.wssocket.send(JSON.stringify(request));
}
function setMask() {
const argDiv = $('#maskArg')[0];
const request = {};