shish 2 месяцев назад
Родитель
Сommit
cb80c3eb2d
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      hdApp/src/admin/home/member.vue

+ 1 - 4
hdApp/src/admin/home/member.vue

@@ -259,9 +259,6 @@ export default {
       return value ? value.substr(5, 11) : "";
     },
     amountText (item) {
-      if (this.tabs[this.tabIndex] && this.tabs[this.tabIndex].type == 1) {
-        return `消费${this.formatNumber(item.buyAmount)}`;
-      }
       const balance = Number(item.balance) || 0;
       if (balance < 0) {
         return `${this.formatNumber(Math.abs(balance))}`;
@@ -269,7 +266,7 @@ export default {
       if (balance > 0) {
         return `${this.formatNumber(balance)}`;
       }
-      return "0";
+      return "";
     },
     decorateMemberList () {
       this.list.data.forEach(item => {