maxiaoxiao 7 tháng trước cách đây
mục cha
commit
582102494c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/Idleland/components/list.vue

+ 1 - 1
src/views/Idleland/components/list.vue

@@ -65,7 +65,7 @@
       @currentChange="searchFun"
     >
       <template #mj="{ row }">
-        {{ Number(row.crmj).toFixed(2) }}
+        {{ row.crmj ? Number(row.crmj).toFixed(2) : 0 }}
       </template>
       <template #action="{ row }">
         <span class="usable" @click="detail(row)">详情</span>