Merge remote-tracking branch 'origin/main'

This commit is contained in:
wanxiaoli 2026-01-13 17:53:54 +08:00
commit a3adc6e33e

View File

@ -5,7 +5,7 @@ export default {
</script> </script>
<script setup lang="ts"> <script setup lang="ts">
import { onMounted, ref } from "vue"; import { onMounted, ref,h } from "vue";
import { ElMessage, ElMessageBox } from 'element-plus' import { ElMessage, ElMessageBox } from 'element-plus'
import Page from '@/components/Pagination/page.vue' import Page from '@/components/Pagination/page.vue'
import { import {
@ -227,12 +227,17 @@ function delproject(row: any) {
// //
function reforcedelproject(row: any) { function reforcedelproject(row: any) {
ElMessageBox.confirm( ElMessageBox.confirm(
'强制删除将删除该试验任务的所有内容:包括本地存储空间文件及备份存储空间文件。建议限于测试数据或者已有其他备份的的试验任务数据。您确认要强制删除吗?', '',
'警告', '警告',
{ {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
message: h(
'span',
{ style: 'color:#f56c6c' },
'强制删除将删除该试验任务的所有内容:包括本地存储空间文件及备份存储空间文件。建议限于测试数据或者已有其他备份的的试验任务数据。您确认要强制删除吗?'
)
} }
) )
.then(() => { .then(() => {