mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
fix(数据大屏): 开启分享修改不符合规则的密码触发校验,关闭窗口后再修改密码一直处于校验状态
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
ref="appSaveForm"
|
||||
:model="state.form"
|
||||
:rules="isDatasourceMatch ? state.ruleDatasource : state.ruleDataset"
|
||||
class="de-form-item app-form"
|
||||
class="de-form-item app-form create-dialog"
|
||||
label-width="180px"
|
||||
label-position="top"
|
||||
>
|
||||
|
||||
@@ -60,6 +60,9 @@ const handleClose = done => {
|
||||
done()
|
||||
}
|
||||
const cancel = () => {
|
||||
state.form.pwd = ''
|
||||
originPwd.value = ''
|
||||
pwdForm.value.resetFields()
|
||||
dialogVisible.value = false
|
||||
}
|
||||
const emits = defineEmits(['pwdChange'])
|
||||
|
||||
@@ -275,6 +275,14 @@ const state = reactive({
|
||||
watch(
|
||||
() => props.resourceId,
|
||||
() => {
|
||||
shareEnable.value = false
|
||||
state.detailInfo = {
|
||||
id: '',
|
||||
uuid: '',
|
||||
pwd: '',
|
||||
exp: 0,
|
||||
autoPwd: true
|
||||
}
|
||||
popoverVisible.value = false
|
||||
}
|
||||
)
|
||||
@@ -296,6 +304,7 @@ const hideShare = async () => {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
const clickOutPopover = e => {
|
||||
if (
|
||||
!popoverVisible.value ||
|
||||
|
||||
Reference in New Issue
Block a user