From ae8b90c76912a7796b7c23c78f1a59bac434457d Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 14 十月 2024 13:37:15 +0800 Subject: [PATCH] 完成普通项目的项目检验 --- src/view/timer.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/view/timer.vue b/src/view/timer.vue index a037a4b..a34b8f9 100644 --- a/src/view/timer.vue +++ b/src/view/timer.vue @@ -3,12 +3,11 @@ <el-dialog title="鎻愮ず" :visible.sync="dialogVisible" - width="30%" - :before-close="handleClose"> - <span>杩欐槸涓�娈典俊鎭�</span> - <span slot="footer" class="dialog-footer"> - <el-button type="primary" @click="dialogVisible = false">纭� 瀹�</el-button> - </span> + :close-on-click-modal="false" + :close-on-press-escape="false" + :show-close="false" + width="30%"> + <div style="display: flex;align-items: center;"><i class="el-icon-warning" style="color: red;font-size: 40px;margin-right: 20px;"></i><span>浠g爜姝e湪閮ㄧ讲锛岃30鍒嗛挓鍚庨噸鏂拌繘鍏ョ郴缁燂紒</span></div> </el-dialog> </div> </template> @@ -47,11 +46,13 @@ performTask() { // 鍦ㄨ繖閲屾墽琛屼綘鎯宠鐨勫畾鏃朵换鍔� console.log("浠诲姟鎵ц浜嗭紒"); + this.dialogVisible = true; // 杩欓噷鍙互瑙﹀彂涓�涓� Vuex 鍔ㄤ綔銆佸彂璧蜂竴涓� HTTP 璇锋眰锛屾垨鑰呭叾浠栨搷浣� }, promptToClose() { // 鎻愮ず鐢ㄦ埛鍏抽棴 - alert("璇疯寰楀湪20鍒嗛挓鍚庡叧闂换鍔★紒"); + // alert("璇疯寰楀湪20鍒嗛挓鍚庡叧闂换鍔★紒"); + this.dialogVisible = true; } }, beforeDestroy() { -- Gitblit v1.9.3