mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
修复前端调试与基础交互问题
This commit is contained in:
@@ -24,12 +24,14 @@
|
||||
<template #default>
|
||||
<!-- 描述 -->
|
||||
<div class="space-y-3">
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<p
|
||||
v-for="(line, index) in descriptionLines"
|
||||
:key="index"
|
||||
:class="getLineClass(index)"
|
||||
v-html="renderLine(line)"
|
||||
/>
|
||||
<!-- eslint-enable vue/no-v-html -->
|
||||
</div>
|
||||
|
||||
<!-- 自定义内容插槽 -->
|
||||
|
||||
@@ -85,7 +85,8 @@ const props = withDefaults(defineProps<{
|
||||
presetOptions?: SelectablePreset[]
|
||||
presetTriggerClass?: string
|
||||
}>(), {
|
||||
presetOptions: () => ['today', 'yesterday', 'last7days', 'last30days', 'last90days', 'custom']
|
||||
presetOptions: () => ['today', 'yesterday', 'last7days', 'last30days', 'last90days', 'custom'],
|
||||
presetTriggerClass: undefined,
|
||||
})
|
||||
const emit = defineEmits<{
|
||||
'update:modelValue': [value: DateRangeParams]
|
||||
|
||||
@@ -290,11 +290,13 @@
|
||||
{{ selectedReleaseHelpText }}
|
||||
</p>
|
||||
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<div
|
||||
v-if="selectedReleaseDisplayNotes"
|
||||
class="max-h-[26rem] overflow-y-auto rounded-xl border border-border/60 bg-muted/25 px-4 py-3 text-sm leading-6 text-foreground/90 shadow-inner shadow-black/[0.02] max-w-none prose prose-sm dark:prose-invert prose-headings:mb-2 prose-headings:mt-4 prose-headings:font-semibold prose-headings:text-foreground prose-h3:text-sm prose-p:my-2 prose-ul:my-2 prose-ul:list-disc prose-ul:pl-5 prose-li:my-1 prose-li:marker:text-primary prose-a:text-primary prose-strong:text-foreground prose-code:rounded prose-code:bg-muted prose-code:px-1 prose-code:py-0.5"
|
||||
v-html="selectedReleaseNotesHtml"
|
||||
/>
|
||||
<!-- eslint-enable vue/no-v-html -->
|
||||
<p
|
||||
v-else
|
||||
class="rounded-lg bg-muted/30 px-3 py-4 text-sm text-muted-foreground"
|
||||
|
||||
@@ -100,7 +100,6 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
})
|
||||
|
||||
const emit = defineEmits<Emits>()
|
||||
const { legacyT } = useI18n()
|
||||
|
||||
const jumpPageInput = ref('')
|
||||
const locale = useI18n().locale
|
||||
|
||||
@@ -20,6 +20,7 @@ const props = withDefaults(defineProps<{
|
||||
filterTitle?: string
|
||||
filterContentClass?: string
|
||||
}>(), {
|
||||
class: undefined,
|
||||
columnKey: undefined,
|
||||
sortable: true,
|
||||
activeKey: null,
|
||||
|
||||
Reference in New Issue
Block a user