Merge pull request #1303 from dataease/pr@dev@fix_公共链接分享密码错误提示位置覆盖

fix: 公共链接分享密码错误提示位置覆盖
This commit is contained in:
fit2cloud-chenyw 2021-11-29 14:27:15 +08:00 committed by GitHub
commit db181cc8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,10 +85,10 @@ export default {
},
// LINK-PWD-TOKEN=entrypt(pwd)
refresh() {
this.msg = null
this.$refs.pwdForm.validate(valid => {
if (!valid) return false
const param = {
/* password: encrypt(this.form.password), */
password: this.form.password,
resourceId: this.resourceId
}
@ -96,7 +96,6 @@ export default {
if (!res.data) {
this.msg = this.$t('pblink.pwd_error')
} else {
// window.location.reload()
this.$emit('fresh-token')
}
})