Change button color and hint message
This commit is contained in:
parent
5623ddf0e8
commit
d7af94032b
@ -134,7 +134,7 @@ export default {
|
||||
}
|
||||
})
|
||||
} else if (type === 2) {
|
||||
const bool = await this.$confirm(`确认要关机吗?`, '提示', {
|
||||
const bool = await this.$confirm(`确认要结束所有任务吗?`, '提示', {
|
||||
customClass: 'confirm-light',
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
||||
@ -121,7 +121,7 @@
|
||||
icon="el-icon-switch-button"
|
||||
size="mini"
|
||||
circle
|
||||
@click="handleRadar(scope.row, 2)"
|
||||
@click="handleRadar(scope.row, 1)"
|
||||
></el-button>
|
||||
</el-tooltip>
|
||||
|
||||
@ -132,11 +132,11 @@
|
||||
placement="top"
|
||||
>
|
||||
<el-button
|
||||
type="success"
|
||||
type="danger"
|
||||
icon="el-icon-close"
|
||||
size="mini"
|
||||
circle
|
||||
@click="handleRadar(scope.row, 1)"
|
||||
@click="handleRadar(scope.row, 2)"
|
||||
></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user