password: {
              hide: true,
            },
            code: {
              label: '验证码',
              autocomplete: 'off',
              rules: { required: true, message: '请输验证码', trigger: 'blur' }
            }
          }
        }

      }
    },
    created() {
      this.refresh();
    },
    methods: {
      refresh() {
        this.$message.success('图片验证码刷新成功')
        this.codesrc = "https://pigx.pig4cloud.com/code?randomStr=" + new Date().getTime();
  