Skip to content

Commit

Permalink
fix: 修复系统设置编辑弹不出弹窗问题
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Mar 21, 2024
1 parent 340241f commit 987c4c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ma-codeEditor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ let instance
const initEditorValue = () => {
if (props.valueType === 'value' && typeof props.modelValue === 'string') {
instance.setValue(props.modelValue)
} else if (props.valueType === 'value' && props.modelValue._onWillDispose === undefined) {
} else if (props.valueType === 'value' && props.modelValue?._onWillDispose === undefined) {
instance.setValue(formatJson(props.modelValue))
} else if (props.modelValue){
instance.setModel(toRaw(props.modelValue))
Expand Down
2 changes: 1 addition & 1 deletion src/views/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const handleSubmit = async ({ values, errors }) => {
loading.value = false
return
}
useTagStore().tags = [];
useTagStore().clearTags()
router.push(redirect)
}
loading.value = false
Expand Down

0 comments on commit 987c4c5

Please sign in to comment.