BUG 30545
This commit is contained in:
		@@ -38,17 +38,16 @@ export default {
 | 
			
		||||
  appName: "实名身份认证",
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      status: '',
 | 
			
		||||
      info: {}
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  computed: {
 | 
			
		||||
    ...mapState(['user']),
 | 
			
		||||
    isSuccess() {
 | 
			
		||||
      return this.status == 2
 | 
			
		||||
      return this.user.status == 2
 | 
			
		||||
    },
 | 
			
		||||
    isFail() {
 | 
			
		||||
      return this.status?.toString() == "0"
 | 
			
		||||
      return this.user.status == "0"
 | 
			
		||||
    },
 | 
			
		||||
    authFail() {
 | 
			
		||||
      return this.user.status == -1
 | 
			
		||||
@@ -57,10 +56,7 @@ export default {
 | 
			
		||||
      return this.authFail ? "审核未通过" : "正在审核中"
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  onLoad(options) {
 | 
			
		||||
    if (options.status) {
 | 
			
		||||
      this.status = options.status
 | 
			
		||||
    }
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    if (!this.isSuccess && !this.isFail) this.getAuthResult()
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user