fix: 弹窗优化
This commit is contained in:
@@ -227,12 +227,14 @@ export default defineComponent({
|
||||
</Layout>
|
||||
|
||||
{/* 修改密码弹窗 */}
|
||||
<ChangePasswordModal
|
||||
visible={changePwdVisible.value}
|
||||
submitting={changePwdSubmitting.value}
|
||||
onClose={() => setChangePwdVisible(false)}
|
||||
onSave={handleChangePwdSave}
|
||||
/>
|
||||
{changePwdVisible.value && (
|
||||
<ChangePasswordModal
|
||||
visible={changePwdVisible.value}
|
||||
submitting={changePwdSubmitting.value}
|
||||
onClose={() => setChangePwdVisible(false)}
|
||||
onSave={handleChangePwdSave}
|
||||
/>
|
||||
)}
|
||||
</Layout>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user