提交 706de9a6 编写于 作者: DCloud_JSON's avatar DCloud_JSON 提交者: Anne_LXM

过滤警告,弹出式代码浏览界面,不再显示code message

上级 b0ffabab
......@@ -47,6 +47,16 @@
},
methods: {
open(codes) {
if('errCode' in codes){
// 为过滤警告,不在弹出请求返回的code message
try{
delete codes.code
delete codes.message
delete codes.affectedDocs
}catch(e){
// console.log(e);
}
}
this.codes = purifyCodes(codes)
this.isShow = true
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册