maxiaoxiao 6 months ago
parent
commit
582102494c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/Idleland/components/list.vue

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

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