mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 17:10:07 +00:00
39 lines
1006 B
Vue
39 lines
1006 B
Vue
<template>
|
|
<BaseViewTemplate dark> </BaseViewTemplate>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { onMounted } from 'vue'
|
|
import { useRouter } from 'vue-router'
|
|
|
|
import ReportIssuePanel from '@/components/dialog/content/error/ReportIssuePanel.vue'
|
|
import { useDialogStore } from '@/stores/dialogStore'
|
|
import BaseViewTemplate from '@/views/templates/BaseViewTemplate.vue'
|
|
|
|
const router = useRouter()
|
|
const dialogStore = useDialogStore()
|
|
|
|
onMounted(() => {
|
|
dialogStore.showDialog({
|
|
key: 'issue-report',
|
|
component: ReportIssuePanel,
|
|
dialogComponentProps: {
|
|
onClose: () => router.push('/')
|
|
},
|
|
props: {
|
|
errorType: 'desktop',
|
|
defaultFields: ['SystemStats', 'Logs', 'Settings'],
|
|
extraFields: [
|
|
{
|
|
label: 'Desktop Version',
|
|
value: 'desktopVersion',
|
|
optIn: false,
|
|
data: { desktopVersion: '1.4.2' } // electronAPI().getVersion()
|
|
}
|
|
],
|
|
pt: { root: { class: 'border-none' } }
|
|
}
|
|
})
|
|
})
|
|
</script>
|