mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 08:54:19 +08:00
添加console.clear
This commit is contained in:
@@ -301,9 +301,13 @@ export default {
|
||||
},
|
||||
// 显示运行结果
|
||||
async showRunResult(content, isSuccess) {
|
||||
content = await this.handleContent(content);
|
||||
if (content.__clearQuickcommandRunResult) {
|
||||
this.runResult = [];
|
||||
} else {
|
||||
content = await this.handleContent(content);
|
||||
this.runResult = this.runResult.concat(content);
|
||||
}
|
||||
this.runResultStatus = isSuccess;
|
||||
this.runResult = this.runResult.concat(content);
|
||||
// 刷新组件
|
||||
this.isResultShow
|
||||
? (this.timeStamp = new Date().getTime())
|
||||
|
||||
Reference in New Issue
Block a user