mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
增加:shell增加清屏命令
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user