Forráskód Böngészése

订单管理 学生姓名优化

1
mo 4 éve
szülő
commit
6ce0bbbe57
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/views/businessManager/orderManager/income.vue

+ 2 - 2
src/views/businessManager/orderManager/income.vue

@@ -263,11 +263,11 @@
           </el-table-column>
           <el-table-column align="center" label="学员姓名">
             <template slot-scope="scope">
-              <copy-text> {{ scope.row.user.username }}</copy-text>
+              <copy-text v-if="scope.row.user.username"> {{ scope.row.user.username }}</copy-text>
               <span v-if="scope.row.user.username && scope.row.user.phone"
                 >/</span
               >
-              <copy-text>
+              <copy-text v-if="scope.row.user.phone">
                 {{ scope.row.user.phone }}
               </copy-text>
             </template>