Skip to content

Commit

Permalink
chore: v3.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Maizify committed Mar 31, 2022
1 parent a2bff5a commit c6f908c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
English | [简体中文](./CHANGELOG_CN.md)

## 3.14.4-rc (2022-03-??)
## 3.14.4 (2022-03-31)

- `Fix(Network)` Fix CPU high load bug when response is a large string. (issue #515)
- `Fix(Network)` Fix missing Request Headers issue in XHR. (issue #522)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[English](./CHANGELOG.md) | 简体中文

## 3.14.4-rc (2022-03-??)
## 3.14.4 (2022-03-31)

- `Fix(Network)` 修复回包超大时导致的卡死问题。 (issue #515)
- `Fix(Network)` 修复 XHR 中缺失显示 Request Headers 的问题。 (issue #522)
Expand Down
11 changes: 11 additions & 0 deletions dev/log.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<a onclick="allDataTypes()" href="javascript:;" class="weui_btn weui_btn_default">All Data Types</a>
<a onclick="logTypes()" href="javascript:;" class="weui_btn weui_btn_default">Log/Info/Debug/Warn/Error</a>
<a onclick="differentPanelLog()" href="javascript:;" class="weui_btn weui_btn_default">Output to Different Panels</a>
<a onclick="logTime()" href="javascript:;" class="weui_btn weui_btn_default">console.time</a>
</div>

<div class="section">
Expand Down Expand Up @@ -126,6 +127,16 @@
console.log('[foobar]', 'This log should be shown in Log panel. (No "foobar" plugin.)');
}

function logTime() {
vConsole.show();
const label = 'aaa';
console.time(label);
console.log('Wait...');
setTimeout(() => {
console.timeEnd(label);
}, Math.ceil(Math.random() * 2000));
}

function formattingLog() {
console.log('%c red,%c blue, %c bold.', 'color:red', 'color:blue', 'font-weight:bold', '(Use %c format)');
console.log('%c %c Continuous styling, only blue is applied.', 'color:red', 'color:blue', '(Use %c format)');
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vconsole",
"version": "3.14.4-rc",
"version": "3.14.4",
"description": "A lightweight, extendable front-end developer tool for mobile web page.",
"homepage": "https://github.com/Tencent/vConsole",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion webpack.serve.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = (env, argv) => {
onBeforeSetupMiddleware(devServer) {
devServer.app.all('*', (req, res) => {
const fileType = req.path.split('.').pop();
// console.log('Req:::', fileType, req.query)
// console.log('Req:::', fileType, req.path, req.query);
if (fileType === 'flv') {
res.set({
'Content-Type': 'video/x-flv',
Expand Down

0 comments on commit c6f908c

Please sign in to comment.