소스 검색

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	app/Admin/Controllers/Recruit/RecruitController.php
zmw 1 년 전
부모
커밋
6820aa852d
1개의 변경된 파일16개의 추가작업 그리고 6개의 파일을 삭제
  1. 16 6
      public/themes/default/views/app/recruit/sign_up.blade.php

+ 16 - 6
public/themes/default/views/app/recruit/sign_up.blade.php

@@ -2117,12 +2117,22 @@
 
                     axios.post("{{route('recruit.save_sign_up')}}",Qs.stringify(this.user)).then(response => {
                         if(response.data.status){
-                            this.$alert(response.data.msg, '提交成功', {
-                                confirmButtonText: '确定',
-                                callback: action => {
-                                    window.location.reload();
-                                }
-                            });
+                            if(response.data.is_html == 1){
+                                this.$alert(response.data.msg, '提交成功', {
+                                    dangerouslyUseHTMLString: true,
+                                    confirmButtonText: '确定',
+                                    callback: action => {
+                                        window.location.reload();
+                                    }
+                                });
+                            }else{
+                                this.$alert(response.data.msg, '提交成功', {
+                                    confirmButtonText: '确定',
+                                    callback: action => {
+                                        window.location.reload();
+                                    }
+                                });
+                            }
                         }else{
                             this.$message.error(response.data.msg);
                             this.loading.close();