fix: function select missing.
This commit is contained in:
parent
f51a6587e8
commit
0b16ec99cd
@ -516,6 +516,19 @@
|
||||
<img src="./images/onlineide/execute.png" class="buttonimg"/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" class="form-control" id="gasLimit" placeholder="请输入合约执行消耗的gas上限"
|
||||
aria-label="maximum gas to be used" aria-describedby="button-addon2">
|
||||
<!-- <div cldialogBodyDivass="input-group-append">-->
|
||||
<!-- <button class="btn btn-outline-primary"-->
|
||||
<!-- onclick="getGasValue()" type="button"-->
|
||||
<!-- data-toggle="tooltip" title="提交gas值" id="button-addon2">确定-->
|
||||
<!-- </button>-->
|
||||
<!-- </div>-->
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-primary"
|
||||
onclick="executeContractWithDynamicResult()" type="button"
|
||||
@ -530,18 +543,6 @@
|
||||
<img src="./images/onlineide/budget.png" class="buttonimg"/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" class="form-control" id="gasLimit" placeholder="请输入合约执行消耗的gas上限"
|
||||
aria-label="maximum gas to be used" aria-describedby="button-addon2">
|
||||
<!-- <div cldialogBodyDivass="input-group-append">-->
|
||||
<!-- <button class="btn btn-outline-primary"-->
|
||||
<!-- onclick="getGasValue()" type="button"-->
|
||||
<!-- data-toggle="tooltip" title="提交gas值" id="button-addon2">确定-->
|
||||
<!-- </button>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
@ -191,7 +191,7 @@ var stopAllContract = function () {
|
||||
};
|
||||
var selectContractToExecute = function () {
|
||||
var value = selectedContractAtExecute.value;
|
||||
if (!value && value !== "选择实例") {
|
||||
if (value && value !== "选择实例") {
|
||||
var exportedFunction = mainVue.contracts[value].exportedFunctions;
|
||||
mainVue.contractFunctions = exportedFunction;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user