mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-27 08:39:51 +08:00
新增 返回控制台按钮
This commit is contained in:
parent
c114cc1d0c
commit
4ecf269e3c
@ -35,6 +35,9 @@
|
||||
<el-button size="small" @click="back" v-if="!backType">
|
||||
<i class="el-icon-pie-chart"></i> 回到文件列表
|
||||
</el-button>
|
||||
<!-- <el-button size="small" @click="backTerminal" plain v-if="backType == 1">
|
||||
回到控制台
|
||||
</el-button> -->
|
||||
</ItemGroup>
|
||||
</div>
|
||||
<div>
|
||||
@ -101,6 +104,11 @@ export default {
|
||||
await this.render();
|
||||
this.$message({ message: "已刷新", type: "success" });
|
||||
},
|
||||
async backTerminal() {
|
||||
this.$router.push({
|
||||
path: `/terminal/${this.serviceUuid}/${this.instanceUuid}/`
|
||||
});
|
||||
},
|
||||
async back() {
|
||||
this.$router.push({
|
||||
path: `/file/${this.serviceUuid}/${this.instanceUuid}/`,
|
||||
|
@ -34,7 +34,7 @@
|
||||
<div class="row-mb">
|
||||
<ItemGroup>
|
||||
<el-button type="success" size="small" @click="save">保存配置</el-button>
|
||||
<el-button type="danger" size="small" @click="rf">放弃并刷新</el-button>
|
||||
<el-button type="danger" size="small" @click="rf">重新加载</el-button>
|
||||
<el-button size="small" @click="back">回到配置文件列表</el-button>
|
||||
</ItemGroup>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user