From 16946ce59ff3218c8a271e55826bc69a1af55408 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 10 六月 2026 17:19:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_河南_鹤壁天沐玻璃厂' into dev_河南_鹤壁天沐玻璃厂
---
src/components/Dialog/FormDialog.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/Dialog/FormDialog.vue b/src/components/Dialog/FormDialog.vue
index 3c6a40d..a9ec7b4 100644
--- a/src/components/Dialog/FormDialog.vue
+++ b/src/components/Dialog/FormDialog.vue
@@ -14,7 +14,7 @@
@click="handleConfirm">
纭
</el-button>
- <el-button :disabled="loading" @click="handleCancel">鍙栨秷</el-button>
+ <el-button :disabled="loading" @click="handleCancel">{{ cancelButtonText }}</el-button>
</slot>
</div>
</template>
@@ -56,6 +56,9 @@
// 璇︽儏妯″紡涓嶅睍绀衡�滅‘璁も�濇寜閽紝鍏跺畠绫诲瀷姝e父鏄剧ず
const showConfirm = computed(() => props.operationType !== "detail");
+ const cancelButtonText = computed(() =>
+ props.operationType === "detail" ? "鍏抽棴" : "鍙栨秷"
+ );
const computedTitle = computed(() => {
if (typeof props.title === "function") {
@@ -83,4 +86,3 @@
text-align: center;
}
</style>
-
--
Gitblit v1.9.3