feat: Add configurable prompt text for homework edit dialog

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-19 13:07:03 +00:00
co-authored by Sunwuyuan
parent b4a27f4c7f
commit f7f703466f
55 changed files with 2509 additions and 920 deletions
+32 -10
View File
@@ -1,22 +1,39 @@
<template>
<v-dialog v-model="isVisible" max-width="500" persistent>
<v-dialog
v-model="isVisible"
max-width="500"
persistent
>
<v-card class="rate-limit-modal">
<v-card-title class="text-center pa-4 bg-error text-white">
<v-icon class="mr-2" icon="mdi-clock-alert-outline" size="large"/>
<v-icon
class="mr-2"
icon="mdi-clock-alert-outline"
size="large"
/>
请求频率超限
</v-card-title>
<v-card-text class="pa-6">
<div class="text-body-1 mb-4">您的请求过于频繁,请稍后再试。</div>
<div class="text-body-1 mb-4">
您的请求过于频繁,请稍后再试。
</div>
<v-card v-if="activeRequests.length > 0" class="mb-4" flat>
<v-card
v-if="activeRequests.length > 0"
class="mb-4"
flat
>
<v-card-text>
<v-list
v-for="(request, index) in activeRequests"
:key="index"
class="mb-4"
>
<v-list-item color="primary" prepend-icon="mdi-web">
<v-list-item
color="primary"
prepend-icon="mdi-web"
>
<v-list-item-title>
等待时间:
<span class="text-primary font-weight-bold">{{
@@ -27,12 +44,11 @@
{{ request.method }} {{ request.path }}
</v-list-item-subtitle>
</v-list-item>
</v-list
>
</v-list>
<v-divider
v-if="index < activeRequests.length - 1"
class="my-3"
></v-divider>
/>
</v-card-text>
</v-card>
@@ -42,8 +58,14 @@
</v-card-text>
<v-card-actions class="pa-4 pt-0">
<v-spacer></v-spacer>
<v-btn color="primary" variant="tonal" @click="close"> 我知道了</v-btn>
<v-spacer />
<v-btn
color="primary"
variant="tonal"
@click="close"
>
我知道了
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>