Skip to content

Commit

Permalink
Merge pull request #493 from WeBankBlockchain/dev
Browse files Browse the repository at this point in the history
fix ide dist
  • Loading branch information
CodingCattwo authored Apr 20, 2023
2 parents 6da1e62 + a030151 commit bc5b789
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 30 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
height: 100%;
margin: 0px;
padding: 0px;
}</style></head><body><body><div id=app></div><script type=text/javascript src=./static/js/0.4f3846d1aa7fc39f1e3d.js></script><script type=text/javascript src=./static/js/3.c774d8829bafa2a5b02c.js></script><script type=text/javascript src=./static/js/runtime.2b52ac019123efed61df.js></script><script type=text/javascript src=./static/js/5.7adf76d6e271c11b334a.js></script></body><script src=./static/js/web3.min.js type=text/javascript></script><script>if (self == top) {
}</style></head><body><body><div id=app></div><script type=text/javascript src=./static/js/0.0b6f2e67abd8c6a0ec7b.js></script><script type=text/javascript src=./static/js/3.a63791d3278d232c3fa3.js></script><script type=text/javascript src=./static/js/runtime.2b52ac019123efed61df.js></script><script type=text/javascript src=./static/js/5.7adf76d6e271c11b334a.js></script></body><script src=./static/js/web3.min.js type=text/javascript></script><script>if (self == top) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
Expand Down

Large diffs are not rendered by default.

Binary file not shown.
1 change: 1 addition & 0 deletions dist/static/js/3.a63791d3278d232c3fa3.js

Large diffs are not rendered by default.

Binary file added dist/static/js/3.a63791d3278d232c3fa3.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion dist/static/js/3.c774d8829bafa2a5b02c.js

This file was deleted.

Binary file removed dist/static/js/3.c774d8829bafa2a5b02c.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion src/assets/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@

.bg-f7f7f7 {
background-color: #f7f7f7;
margin:0 24px 0 24px
}

.cursor-context-menu {
Expand Down
2 changes: 1 addition & 1 deletion src/components/sendTransaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export default {
},
checkFunction(item) {
return item.stateMutability === "view" ||
item.stateMutability === "cosntant" ||
item.stateMutability === "constant" ||
item.stateMutability === "pure"
? false
: true;
Expand Down
37 changes: 12 additions & 25 deletions src/views/chaincode/contract.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<div style="height: calc(100% - 56px)">
<div class="code-menu-wrapper" :style="{width: menuWidth+'px'}">
<v-menu @change="changeCode($event)" ref="menu" v-show="menuHide" :liquidChecks='liquidCheck'>
<template slot="footer" >
<template slot="footer">
<div class="version-selector">
<el-select v-model="version" placeholder="请选择" @change="onchangeLoadVersion" >
<el-select v-model="version" placeholder="请选择" @change="onchangeLoadVersion">
<el-option v-for="item in versionList" :key="item.versionId" :label="item.solcName" :value="item.solcName">
</el-option>
</el-select>
Expand All @@ -31,7 +31,8 @@
<div class="move" @mousedown="dragDetailWeight($event)"></div>
</div>
<div :class="[!menuHide ? 'code-detail-wrapper' : 'code-detail-reset-wrapper']" :style="{width: contentWidth}">
<v-code ref="codes" :changeStyle="changeWidth" :frontIds='frontId' :liquidChecks='liquidCheck' :data="contractData" :show="showCode" @add="add($event)" @compile="compile($event)" @deploy="deploy($event)"></v-code>
<v-code ref="codes" :changeStyle="changeWidth" :frontIds='frontId' :liquidChecks='liquidCheck' :data="contractData" :show="showCode" @add="add($event)" @compile="compile($event)"
@deploy="deploy($event)"></v-code>
</div>
</div>
</div>
Expand Down Expand Up @@ -163,32 +164,18 @@ export default {
encryptType: 1,
net: 1,
},
{
solcName: "v0.8.11",
versionId: 6,
url: `http://${this.host}/static/js/v0.8.11.js`,
encryptType: 0,
net: 1,
},
{
solcName: "v0.8.11-gm",
versionId: 7,
url: `http://${this.host}/static/js/v0.8.11-gm.js`,
encryptType: 1,
net: 1,
},
];
// this.initWorker()
// this.getEncryption(this.querySolcList);
this.initWorker();
this.getEncryption(this.querySolcList);
// this.liquidList();
// this.liquidCheck = true;
this.getfrontList()
// this.getfrontList()
//this.liquidCheckMethod()
},
methods: {
liquidCheckMethod() {
let groupId = localStorage.getItem("groupId");
checkIsWasm(this.frontId,groupId)
checkIsWasm(this.frontId, groupId)
.then((res) => {
if (res.data.data == true) {
this.liquidList();
Expand Down Expand Up @@ -405,11 +392,11 @@ export default {
});
},
changGroup: function () {
this.initVersion();
this.versionList = [];
this.initVersion();
this.versionList = [];
// this.getEncryption(this.querySolcList);
this.$refs.menu.getContractPaths();
this.getfrontList()
this.$refs.menu.getContractPaths();
this.getfrontList();
},
dragDetailWeight: function (e) {
let startX = e.clientX,
Expand Down

0 comments on commit bc5b789

Please sign in to comment.