@@ -36,13 +36,13 @@ export function useLocale() {
const AntdLocale = i18n.global.getLocaleMessage(unref(getLocale))?.antdLocale ?? {}
if ( ('locale' in unref(AntdLocale)) && unref(AntdLocale).locale === 'zh-cn') {
AntdLocale.DatePicker.lang.shortWeekDays = [
+ '日',
'一',
'二',
'三',
'四',
'五',
'六',
- '日'
]
AntdLocale.DatePicker.lang.shortMonths = [
'1月',
@@ -306,6 +306,7 @@ export default defineComponent({
}
return unref(getLocale)
})
+
const otpInput = ref('')
const formRef = ref<FormInstance>()
const current = reactive(createRoom(props.room || {}))
@@ -142,7 +142,7 @@ watch(
)
const roomList = computed(() =>
- roomStore.roomStatus !== 2
+ roomStore.roomStatus === 0
? [addMarked, ...roomStore.filter(keyword.value)]
: roomStore.filter(keyword.value)