Преглед изворни кода

Merge remote-tracking branch 'origin/master'

wgl пре 4 година
родитељ
комит
8a98827e92
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      src/projects/business/views/Master/Health/WorkerReport.vue

+ 4 - 1
src/projects/business/views/Master/Health/WorkerReport.vue

@@ -449,7 +449,10 @@
 			},
 			submitReport() {
 
-
+                if(!this.student.id){
+                    mui.toast("页面加载失败!");
+                    return;
+                }
 
                 if (this.report.address=='定位中……'||this.report.address=='无法获取定位') {
                     mui.alert("定位失败,请点击<span class=\"mui-icon mui-icon-location\" style=\"color: #096DD9;font-size: 16px;\"></span>蓝色定位图标重新获取位置信息!");