Оптимизация
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<script setup>
|
||||
<script setup>
|
||||
|
||||
const { t, locale } = useI18n()
|
||||
const appStore = useAppStore()
|
||||
@@ -10,8 +10,6 @@ const { confirm } = useConfirm()
|
||||
const operating = ref(false)
|
||||
const statusLabel = ref('')
|
||||
|
||||
const sleep = (ms) => new Promise(r => setTimeout(r, ms))
|
||||
|
||||
const toggleLocale = () => {
|
||||
const next = locale.value === 'ru' ? 'en' : 'ru'
|
||||
locale.value = next
|
||||
|
||||
Reference in New Issue
Block a user