增加:shell增加清屏命令

This commit is contained in:
ngfchl
2023-01-25 14:04:35 +08:00
parent 9f573e77fd
commit 37743a0bed

View File

@@ -33,6 +33,7 @@
<el-dropdown split-button size="small" type="primary" @command="exec_shell">
<i class="fas fa-terminal"></i>发送
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="clear">清除屏幕</el-dropdown-item>
<el-dropdown-item command="pip install -r requirements.txt -U">更新依赖</el-dropdown-item>
<el-dropdown-item command="git pull">更新代码</el-dropdown-item>
<el-dropdown-item command="git clean -df && git reset --hard">初始化代码</el-dropdown-item>