shish 2 лет назад
Родитель
Сommit
534cf4b00f
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      ghs/src/views/order/list.vue

+ 2 - 3
ghs/src/views/order/list.vue

@@ -27,9 +27,8 @@
       </template>
 
       <template #table-column-debt="{scope}">
-        <span style="color:red;font-weight:bold;font-size:13px;">
-          {{ scope.row.debt == 1 ? '赊' : '' }}
-        </span>
+        <span style="color:red;font-weight:bold;font-size:13px;" v-if="scope.row.debt == 1">赊</span>
+        <span v-else>-</span>
       </template>
 
       <template #table-column-addTime="{scope}">