Skip to content

Commit

Permalink
Merge pull request #360 from WeBankFinTech/dev
Browse files Browse the repository at this point in the history
fix contract export
  • Loading branch information
mingzhenliu authored Jun 1, 2021
2 parents b71f253 + b9dc724 commit 430848b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 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.8f57dcaab63113fa0163.js></script><script type=text/javascript src=./static/js/3.0821fa8aa4c19fafedf3.js></script><script type=text/javascript src=./static/js/runtime.adc4182f8a21b151e272.js></script><script type=text/javascript src=./static/js/5.9611bbb710402348985a.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.78428cc43e16f2851ca0.js></script><script type=text/javascript src=./static/js/3.0821fa8aa4c19fafedf3.js></script><script type=text/javascript src=./static/js/runtime.adc4182f8a21b151e272.js></script><script type=text/javascript src=./static/js/5.9611bbb710402348985a.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.
18 changes: 10 additions & 8 deletions src/views/chaincode/dialog/exportProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,19 +354,21 @@ export default {
},
submit(formName) {
if (this.multipleSelection.length === 0) {
if (this.multipleSelectedId.length === 0) {
this.$message({
type: "error",
message: this.$t('rule.checkContract')
});
} else {
this.$refs[formName].validate((valid) => {
if (valid) {
this.export()
} else {
return false;
}
})
}
this.$refs[formName].validate((valid) => {
if (valid) {
this.export()
} else {
return false;
}
})
},
handleSelectAll(selection) {
// if(!selection.length){
Expand Down

0 comments on commit 430848b

Please sign in to comment.