Change button color and hint message

This commit is contained in:
Bingkun Li 2026-02-06 15:58:32 +08:00
parent 5623ddf0e8
commit d7af94032b
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ export default {
} }
}) })
} else if (type === 2) { } else if (type === 2) {
const bool = await this.$confirm(`确认要关机吗?`, '提示', { const bool = await this.$confirm(`确认要结束所有任务吗?`, '提示', {
customClass: 'confirm-light', customClass: 'confirm-light',
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',

View File

@ -121,7 +121,7 @@
icon="el-icon-switch-button" icon="el-icon-switch-button"
size="mini" size="mini"
circle circle
@click="handleRadar(scope.row, 2)" @click="handleRadar(scope.row, 1)"
></el-button> ></el-button>
</el-tooltip> </el-tooltip>
@ -132,11 +132,11 @@
placement="top" placement="top"
> >
<el-button <el-button
type="success" type="danger"
icon="el-icon-close" icon="el-icon-close"
size="mini" size="mini"
circle circle
@click="handleRadar(scope.row, 1)" @click="handleRadar(scope.row, 2)"
></el-button> ></el-button>
</el-tooltip> </el-tooltip>
</template> </template>