Explorar o código

Merge remote-tracking branch 'origin/master'

wgl %!s(int64=4) %!d(string=hai) anos
pai
achega
8a98827e92
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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>蓝色定位图标重新获取位置信息!");