소스 검색

订单管理 学生姓名优化

1
mo 4 년 전
부모
커밋
6ce0bbbe57
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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>