From d56a642531aaf184c1431ae9bb1adee9418cae6c Mon Sep 17 00:00:00 2001 From: 严智鑫 <test> Date: 星期三, 10 四月 2024 10:06:11 +0800 Subject: [PATCH] 更新 --- UI-Project/src/views/Caching/caching.vue | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/UI-Project/src/views/Caching/caching.vue b/UI-Project/src/views/Caching/caching.vue index b166446..18f3a10 100644 --- a/UI-Project/src/views/Caching/caching.vue +++ b/UI-Project/src/views/Caching/caching.vue @@ -6,6 +6,8 @@ import { ref } from 'vue' import { ElMessage, ElMessageBox } from 'element-plus' +// import LanguageMixin from './lang/LanguageMixin' + const tableData = [ { @@ -639,6 +641,23 @@ thicka: '191', } ] + +const dialogForm = () => { + ElMessageBox.confirm( + '鏄惁鎶ョ己?', + '鎻愮ず', + { + confirmButtonText: '鏄�', + cancelButtonText: '鍙栨秷', + type: 'warning', + } + ) + .then(() => { + // this.boxa = true + // this.box = false + + }) +} const open = () => { ElMessageBox.confirm( '鏄惁鍒犻櫎璇ユ潯淇℃伅?', @@ -711,8 +730,12 @@ 'wide': '1005', 'thick': '183.6', } - ], + ] + }) + + + </script> <template> @@ -728,7 +751,7 @@ <el-table-column prop="type" align="center" label="闀�" min-width="120" /> <el-table-column fixed="right" label="鎿嶄綔" align="center" width="200"> <template #default> - <el-button size="mini" type="text" plain @click="dialogFormVisiblea = true">鎶ョ己</el-button> + <el-button size="mini" type="text" plain @click="dialogForm">鎶ョ己</el-button> </template> </el-table-column> </el-table> -- Gitblit v1.8.0