guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
41c4c8e972
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/market/detail/expeDetail.vue

+ 4 - 0
src/views/market/detail/expeDetail.vue

@@ -201,6 +201,10 @@ export default {
           let start = value.slice(0, 4);
           let end = value.slice(-3);
           return `${start}****${end}`;
+        } else if (value.length === 20) {
+          let start = value.slice(0, 13);
+          let end = value.slice(-3);
+          return `${start}****${end}`;
         } else {
           return value;
         }