lrf402788946 4 éve
szülő
commit
5ac1b7f431

+ 1 - 1
src/layout/class/nameList/stuNameList.vue

@@ -19,7 +19,7 @@
           <el-col :span="24" class="job">性别:{{ item.gender }}</el-col>
           <el-col :span="24" class="job">性别:{{ item.gender }}</el-col>
           <p :span="24" class="job" @click="showPopup(item)">寝室号:{{ item.bedroom }}</p>
           <p :span="24" class="job" @click="showPopup(item)">寝室号:{{ item.bedroom }}</p>
           <el-col :span="24" class="job"
           <el-col :span="24" class="job"
-            ><i class="el-icon-phone"></i><el-link href="tel:01234567890" :underline="false">:{{ item.phone }}</el-link></el-col
+            ><i class="el-icon-phone"></i><el-link :href="`tel:${item.phone}`" :underline="false">:{{ item.phone }}</el-link></el-col
           >
           >
         </el-col>
         </el-col>
       </el-col>
       </el-col>

+ 1 - 1
src/views/class/newClass/nameList.vue

@@ -9,7 +9,7 @@
           <p class="job">寝室号:{{ stu.bedroom }}</p>
           <p class="job">寝室号:{{ stu.bedroom }}</p>
         </div>
         </div>
         <p>
         <p>
-          <i class="el-icon-phone"></i><el-link href="tel:01234567890" :underline="false">:{{ stu.phone }}</el-link>
+          <i class="el-icon-phone"></i><el-link :href="`tel:${stu.phone}`" :underline="false">:{{ stu.phone }}</el-link>
         </p>
         </p>
       </el-col>
       </el-col>
     </el-row>
     </el-row>