mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-12-07 21:13:11 +00:00
Compare commits
7 Commits
fb20f8a3ea
...
8f5fc287fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f5fc287fb | ||
|
|
07a89dc855 | ||
|
|
511ddc358e | ||
|
|
f3b625839d | ||
|
|
f7f703466f | ||
|
|
b4a27f4c7f | ||
|
|
f8758e7cf0 |
@ -4,7 +4,7 @@
|
||||
<v-card border>
|
||||
<v-card-title>{{ title }}</v-card-title>
|
||||
<v-card-subtitle>
|
||||
{{ autoSave ? "喵?喵呜!" : "写完后点击上传谢谢喵" }}
|
||||
{{ autoSave ? autoSavePromptText : manualSavePromptText }}
|
||||
</v-card-subtitle>
|
||||
<v-card-text>
|
||||
<div class="d-flex">
|
||||
@ -280,6 +280,12 @@ export default {
|
||||
},
|
||||
showQuickTools() {
|
||||
return getSetting("display.showQuickTools");
|
||||
},
|
||||
autoSavePromptText() {
|
||||
return getSetting("edit.autoSavePromptText");
|
||||
},
|
||||
manualSavePromptText() {
|
||||
return getSetting("edit.manualSavePromptText");
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
@ -15,6 +15,14 @@
|
||||
<v-divider class="my-2"/>
|
||||
<setting-item :setting-key="'edit.refreshBeforeEdit'"/>
|
||||
|
||||
|
||||
<v-divider class="my-2"/>
|
||||
<setting-item :setting-key="'edit.autoSavePromptText'"/>
|
||||
|
||||
|
||||
<v-divider class="my-2"/>
|
||||
<setting-item :setting-key="'edit.manualSavePromptText'"/>
|
||||
|
||||
</v-list>
|
||||
</settings-card>
|
||||
</template>
|
||||
|
||||
@ -289,6 +289,20 @@ const settingsDefinitions = {
|
||||
description: "保存非当天数据需确认",
|
||||
icon: "mdi-calendar-alert",
|
||||
},
|
||||
"edit.autoSavePromptText": {
|
||||
type: "string",
|
||||
default: "喵?喵呜!",
|
||||
description: "自动保存模式提示文本",
|
||||
icon: "mdi-text-box-outline",
|
||||
// 作业编辑对话框在自动保存模式下显示的提示文本
|
||||
},
|
||||
"edit.manualSavePromptText": {
|
||||
type: "string",
|
||||
default: "写完后点击上传谢谢喵",
|
||||
description: "手动保存模式提示文本",
|
||||
icon: "mdi-text-box-outline",
|
||||
// 作业编辑对话框在手动保存模式下显示的提示文本
|
||||
},
|
||||
|
||||
// 开发者选项
|
||||
"developer.enabled": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user