skiy пре 3 година
родитељ
комит
9e784917cd

+ 2 - 2
src/app/routes/pc-realname/info/info.component.html

@@ -1,7 +1,7 @@
 <div nz-row nzJustify="end">
   <button nz-button nzType="primary" (click)="back()">Back</button>
 </div>
-<form nz-form [formGroup]="info" (ngSubmit)="submitForm()">
+<form nz-form [formGroup]="info" >
   <nz-form-item>
     <nz-form-label [nzSpan]="24" nzRequired nzFor="status"
       >Status</nz-form-label
@@ -65,7 +65,7 @@
   </nz-form-item>
   <div nz-row nzJustify="end" *ngIf="info.value.status === 1">
     <nz-space>
-      <button *nzSpaceItem nz-button nzType="primary" (click)="(pass)">
+      <button *nzSpaceItem nz-button nzType="primary" (click)="pass()">
         Pass
       </button>
       <button

+ 2 - 0
src/app/routes/pc-realname/info/info.component.ts

@@ -128,6 +128,8 @@ export class RealnameInfoComponent implements OnInit {
 
   // 点击通过
   pass(){
+    console.log(1111);
+    
     this.http
     .post('/api/admin/updaterole', {
       role_id: this.Id,