Skip to content

Commit

Permalink
add export errorcode
Browse files Browse the repository at this point in the history
Signed-off-by: xyzshen <[email protected]>
  • Loading branch information
xyzshen committed Jun 1, 2021
1 parent e351560 commit ed3dc87
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 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.73009bb3052990f8eccc.js></script><script type=text/javascript src=./static/js/3.0a0efd1109f1a6a9a234.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.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) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
Expand Down

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
5 changes: 4 additions & 1 deletion src/util/errcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,10 @@ let errCode = {
en: "Unable to create instance of type, check input params",
zh: '输入参数格式错误'
},

"201161": {
en: "Generate project failed in scaffold",
zh: '项目Scaffold脚手架生成失败'
},
"201213": {
en: "address is invalid",
zh: '地址无效'
Expand Down
16 changes: 11 additions & 5 deletions src/views/chaincode/dialog/exportProject.vue
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,15 @@ export default {
modelClose() {
this.$emit('close')
},
handleExpand (row){
handleExpand(row) {
this.getContractList(row, 'ExpandEvent')
},
clickTable: function (row, column, $event) {
this.getContractList(row, 'ExpandEvent')
let nodeName = $event.target.nodeName;
this.$refs.refTable.toggleRowExpansion(row);
// this.$nextTick(() => {
// })
if (nodeName === "I") {
return
Expand Down Expand Up @@ -368,7 +368,7 @@ export default {
}
})
},
handleSelectAll(selection){
handleSelectAll(selection) {
// if(!selection.length){
// this.$message({
// type:"error",
Expand Down Expand Up @@ -412,6 +412,12 @@ export default {
type: 'success',
message: this.$t('text.exportSuccessed')
})
} else {
this.$message({
type: "error",
message: this.$chooseLang(res.data.code),
customClass: 'zZindex'
});
}
})
},
Expand Down Expand Up @@ -450,9 +456,9 @@ export default {
if (res.data.code === 0) {
if (res.data.data) {
if (res.data.data.channelPort) {
if(res.data.data.channelPort == 'null'){
if (res.data.data.channelPort == 'null') {
this.projectFrom.channelPort = ''
}else {
} else {
this.queryPort = true
this.projectFrom.channelPort = res.data.data.channelPort
}
Expand Down

0 comments on commit ed3dc87

Please sign in to comment.