提交 33c6fba9 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 公共链接分享密码错误提示位置覆盖

上级 8f00ea47
...@@ -85,10 +85,10 @@ export default { ...@@ -85,10 +85,10 @@ export default {
}, },
// 验证密码是否正确 如果正确 设置请求头部带LINK-PWD-TOKEN=entrypt(pwd)再刷新页面 // 验证密码是否正确 如果正确 设置请求头部带LINK-PWD-TOKEN=entrypt(pwd)再刷新页面
refresh() { refresh() {
this.msg = null
this.$refs.pwdForm.validate(valid => { this.$refs.pwdForm.validate(valid => {
if (!valid) return false if (!valid) return false
const param = { const param = {
/* password: encrypt(this.form.password), */
password: this.form.password, password: this.form.password,
resourceId: this.resourceId resourceId: this.resourceId
} }
...@@ -96,7 +96,6 @@ export default { ...@@ -96,7 +96,6 @@ export default {
if (!res.data) { if (!res.data) {
this.msg = this.$t('pblink.pwd_error') this.msg = this.$t('pblink.pwd_error')
} else { } else {
// window.location.reload()
this.$emit('fresh-token') this.$emit('fresh-token')
} }
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论