From 89e540640b87f4be8656a5bc78f4a5dbcdf1c21f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 01 七月 2025 15:53:41 +0800
Subject: [PATCH] ss

---
 admin/src/filters/index.js |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/admin/src/filters/index.js b/admin/src/filters/index.js
index 77559ba..c5f193c 100644
--- a/admin/src/filters/index.js
+++ b/admin/src/filters/index.js
@@ -10,12 +10,17 @@
       }
       return '鏈煡'
     })
-    // 鍚敤绂佺敤
-    Vue.filter('disabledText', (value) => {
-      if (value) {
-        return '鍋滅敤'
-      }
-      return '鍚敤'
+    // 鏄惁鏂囨锛圷es Or No锛�
+    Vue.filter('YONText', value => {
+      return value ? '鏄�' : '鍚�'
+    })
+    // 鏄惁鍚敤鏂囨
+    Vue.filter('enableText', value => {
+      return value ? '鍚敤' : '绂佺敤'
+    })
+    // 鏄惁绂佺敤鏂囨
+    Vue.filter('disabledText', value => {
+      return value ? '绂佺敤' : '鍚敤'
     })
     Vue.filter('disabledText1', (value) => {
       if (value) {

--
Gitblit v1.9.3