mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-02 04:07:33 +08:00
F review
This commit is contained in:
parent
66219fc55a
commit
ecacce6990
@ -157,13 +157,17 @@
|
||||
<Dropdown
|
||||
v-else
|
||||
:permissions="[pms.DeployProject]"
|
||||
split-button
|
||||
:split-button="scope.row.review === 1 ? false : true"
|
||||
trigger="click"
|
||||
type="primary"
|
||||
@click="publish(scope.row)"
|
||||
@command="(funcName: string) => commandFunc[funcName](scope.row)"
|
||||
>
|
||||
{{ scope.row.review === 1 ? $t('submit') : $t('deploy') }}
|
||||
<el-button v-if="scope.row.review === 1" type="primary">
|
||||
{{ $t('submit') }}
|
||||
<el-icon class="el-icon--right"><arrow-down /></el-icon>
|
||||
</el-button>
|
||||
<span v-else>{{ $t('deploy') }}</span>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item :command="'handleCommitCommand'">
|
||||
|
Loading…
Reference in New Issue
Block a user