tangning 1 year ago
parent
commit
460e76ce6e
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/operate/components/GrowCard.vue
  2. 1 1
      src/views/operate/userFeedback.vue

+ 2 - 2
src/views/operate/components/GrowCard.vue

@@ -10,8 +10,8 @@
         :canExpan="false"
       >
         <div class="py-4 px-4 flex justify-between">
-          <div class="" v-if="!item.score"></div>
-          <CountTo v-else prefix="分" :startVal="1" :endVal="item.score" class="text-2xl" />
+          <div class="" v-if="!item.score">-</div>
+          <CountTo v-else prefix="分" :decimals="1" :startVal="0" :endVal="item.score" class="text-2xl" />
         </div>
       </Card>
     </template>

+ 1 - 1
src/views/operate/userFeedback.vue

@@ -106,7 +106,7 @@
           title: '问题描述',
           dataIndex: 'problemDesc',
           ellipsis: true,
-          align: 'left',
+          // align: 'left',
           width: 250,
         },
         {