瀏覽代碼

高级查询-表格格式化修改

zhongxiaoyu 1 年之前
父節點
當前提交
202fd3be3f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/advancedQuery/views/advancedHome.vue
  2. 1 1
      src/views/advancedQuery/views/advancedNew.vue

+ 1 - 1
src/views/advancedQuery/views/advancedHome.vue

@@ -859,7 +859,7 @@ export default {
         case 'deleted':
           return cellValue === 'DEL' ? cellValue : ''
         case 'activated':
-          return cellValue === 1 ? '激活' : '未激活'
+          return Number(cellValue) === 1 ? '激活' : '未激活'
         default:
           return cellValue ?? ''
       }

+ 1 - 1
src/views/advancedQuery/views/advancedNew.vue

@@ -918,7 +918,7 @@ export default {
           case 'deleted':
             return cellValue === 'DEL' ? cellValue : ''
           case 'activated':
-            return cellValue === 1 ? '激活' : '未激活'
+            return Number(cellValue) === 1 ? '激活' : '未激活'
           default:
             return cellValue ?? ''
         }