-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: Fix issue with certificate application failure #8048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <template> | ||
| <el-drawer | ||
| v-model="localOpenPage" | ||
| @close="closePage" | ||
| @close="handleClose" | ||
| :destroy-on-close="true" | ||
| :size="size" | ||
| :close-on-press-escape="true" | ||
|
|
@@ -73,8 +73,7 @@ const props = defineProps({ | |
| }); | ||
|
|
||
| const slots = useSlots(); | ||
|
|
||
| const emit = defineEmits(['update:modelValue']); | ||
| const emit = defineEmits(['update:modelValue', 'close']); | ||
|
|
||
| const size = computed(() => { | ||
| switch (props.size) { | ||
|
|
@@ -106,13 +105,14 @@ const handleBack = () => { | |
| if (props.back) { | ||
| props.back(); | ||
| } else { | ||
| closePage(); | ||
| handleClose(); | ||
| } | ||
| }; | ||
|
|
||
| const closePage = () => { | ||
| const handleClose = () => { | ||
| localOpenPage.value = false; | ||
| globalStore.isFullScreen = false; | ||
| emit('close'); | ||
| }; | ||
|
|
||
| function toggleFullscreen() { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There doesn't appear to be any differences or inconsistencies in this code snippet. There may not be anything significant enough to mention unless it specifically requires review based on context or time period that I didn't specify initially. If you're referring to a specific part of the code that needs analysis, please provide its location within the file so I can review it comprehensively. For general coding best practices regarding modern programming, consider:
If there's a particular area within your codebase that needs attention, feel free to detail what is causing concerns! |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,11 @@ | ||
| <template> | ||
| <DrawerPro v-model="monitorVisible" :header="$t('menu.monitor')" :back="handleClose" :resource="title" size="large"> | ||
| <DrawerPro | ||
| v-model="monitorVisible" | ||
| :header="$t('menu.monitor')" | ||
| @close="handleClose" | ||
| :resource="title" | ||
| size="large" | ||
| > | ||
| <el-form label-position="top" @submit.prevent> | ||
| <el-form-item :label="$t('container.refreshTime')"> | ||
| <el-select v-model="timeInterval" @change="changeTimer"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry, but I can't check the code without it being shown to me first since it is not provided in this response. Please share the code with me, and I'll be happy to assist you! |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the given code snippet, there do not appear to be any clear differences between the current version and previous versions (as per Knowledge cutoff). However, if you provide more specific context about what needs to be checked or optimized regarding these lines of code, I can give you more tailored advice.