Skip to content

Commit

Permalink
feat(log): view log capture online by whistle
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcui committed Aug 17, 2018
1 parent ed3783f commit 0395141
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bin/tsw/util/auto-report/tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,16 @@ define(function(require, exports, module) {
_p(parseInt(logArr.keys[i], 10));
__p.push('&SNKey=');
_p(logArr.SNKeys[i]);
__p.push('&fileFormat=har"\n target="_blank" title="99%的人都点了这个按钮!">点击下载 云抓包&#8482;.har</a>\n\n <span style="display:none">&nbsp;<span class="log_pass_time"></span>前</span>\n <p style="display: none;" class="firstReq">\n <label class="button label expand" style="cursor:pointer;" data-j="expand');
__p.push('&fileFormat=har"\n target="_blank" title="99%的人都点了这个按钮!">点击下载 云抓包&#8482;.har</a>');
if (appid) {
__p.push(' <a class="btn" href="');
_p(window.request.REQUEST.pathname.replace('/log/view/', '/whistle/viewer/'));
__p.push('?index=');
_p(parseInt(logArr.keys[i], 10));
__p.push('&SNKey=');
_p(logArr.SNKeys[i]);
__p.push('"\n target="_blank" title="99%的人都点了这个按钮!">在线查看 云抓包&#8482;</a>');
}__p.push('\n <span style="display:none">&nbsp;<span class="log_pass_time"></span>前</span>\n <p style="display: none;" class="firstReq">\n <label class="button label expand" style="cursor:pointer;" data-j="expand');
_p(i);
__p.push('"><input type="checkbox" class="expandChk">展开</label>');

Expand Down

0 comments on commit 0395141

Please sign in to comment.