+
加入时间
{{ siteData?.join_at?.split(' ')[0] }}
diff --git a/src/components/dialog/SubscribeEditDialog.vue b/src/components/dialog/SubscribeEditDialog.vue
index 42f9965d..b6d5175f 100644
--- a/src/components/dialog/SubscribeEditDialog.vue
+++ b/src/components/dialog/SubscribeEditDialog.vue
@@ -64,6 +64,14 @@ const downloaderOptions = ref<{ title: string; value: string }[]>([])
// 剧集组选项
const episodeGroupOptions = ref<{ title: string; subtitle: string; value: number }[]>([])
+// 生成1到100季的下拉框选项
+const seasonItems = ref(
+ Array.from({ length: 101 }, (_, i) => i).map(item => ({
+ title: `第 ${item} 季`,
+ value: item,
+ })),
+)
+
// 剧集组选项属性
function episodeGroupItemProps(item: { title: string; subtitle: string }) {
return {
@@ -526,7 +534,16 @@ onMounted(() => {
persistent-hint
/>
-
+
+
+
+
({
vocechat_userid: null,
synologychat_userid: null,
},
- nickname: '', // 昵称字段
+ nickname: '', // 昵称字段
})
// 更新头像
@@ -196,15 +196,15 @@ async function updateUser() {
}
userForm.value.password = newPassword.value
}
-
+
// 将nickname保存到settings中,后端可以直接处理JSON对象
if (userForm.value.nickname) {
if (!userForm.value.settings) {
- userForm.value.settings = {};
+ userForm.value.settings = {}
}
- userForm.value.settings.nickname = userForm.value.nickname;
+ userForm.value.settings.nickname = userForm.value.nickname
}
-
+
const oldUserName = userForm.value.name
userForm.value.name = currentUserName.value
const oldAvatar = userForm.value.avatar
@@ -213,10 +213,10 @@ async function updateUser() {
startNProgress()
try {
// 确保昵称保存,使用一个临时变量存储完整数据
- const userData = { ...userForm.value };
-
+ const userData = { ...userForm.value }
+
const result: { [key: string]: any } = await api.put('user/', userData)
-
+
if (result.success) {
if (oldUserName !== currentUserName.value) {
$toast.success(`【${oldUserName}】更名【${currentUserName.value}】, 更新成功!`)
@@ -286,7 +286,7 @@ onMounted(() => {
-
+
import * as Mousetrap from 'mousetrap'
-import SearchBarView from '@/views/system/SearchBarView.vue'
+import SearchBarDialog from '@/components/dialog/SearchBarDialog.vue'
import { useDisplay } from 'vuetify'
const display = useDisplay()
@@ -36,7 +36,7 @@ const metaKey = computed(() => (isMac() ? '⌘+K' : 'Ctrl+K'))
-
+