1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-04-04 07:05:05 +00:00
This commit is contained in:
Silent YANG 2024-06-18 21:07:34 +08:00
parent b864052d17
commit 0923cfaebb
5 changed files with 10 additions and 0 deletions
src
locale
views/idea
channel
firmware
image

View file

@ -159,6 +159,8 @@ export default {
'idea.diy': 'LOSEHU DIY',
'diy.generate': 'Generate',
'cps.dtmfid': 'DTMF ID',
'global.upload': 'Upload',
'global.loginUpload': '(Login to upload and share)',
...localeSettings,
...localeMessageBox,
...localeLogin,

View file

@ -159,6 +159,8 @@ export default {
'idea.diy': '自定义萝卜固件',
'diy.generate': '生成',
'cps.dtmfid': 'DTMF ID',
'global.upload': '上传',
'global.loginUpload': '(登录可上传分享)',
...localeSettings,
...localeMessageBox,
...localeLogin,

View file

@ -8,11 +8,13 @@
<div style="margin-right: 20px;">
<template v-if="userStore.name">
<a-link @click="showPanel">&nbsp;&nbsp;{{ userStore.name }}&nbsp;&nbsp;</a-link>
<a-link @click="showPanel">&nbsp;&nbsp;{{ $t('global.upload') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.logout()">&nbsp;&nbsp;{{ $t('global.logout') }}&nbsp;&nbsp;</a-link>
</template>
<template v-else>
<a-link @click="userStore.setInfo({ showLogin: true })">&nbsp;&nbsp;{{ $t('global.login') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.setInfo({ showRegister: true })">&nbsp;&nbsp;{{ $t('global.register') }}&nbsp;&nbsp;</a-link>
<span style="color: #373737; margin: 10px;">{{ $t('global.loginUpload') }}</span>
</template>
</div>
</template>

View file

@ -8,11 +8,13 @@
<div style="margin-right: 20px;">
<template v-if="userStore.name">
<a-link @click="showPanel">&nbsp;&nbsp;{{ userStore.name }}&nbsp;&nbsp;</a-link>
<a-link @click="showPanel">&nbsp;&nbsp;{{ $t('global.upload') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.logout()">&nbsp;&nbsp;{{ $t('global.logout') }}&nbsp;&nbsp;</a-link>
</template>
<template v-else>
<a-link @click="userStore.setInfo({ showLogin: true })">&nbsp;&nbsp;{{ $t('global.login') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.setInfo({ showRegister: true })">&nbsp;&nbsp;{{ $t('global.register') }}&nbsp;&nbsp;</a-link>
<span style="color: #373737; margin: 10px;">{{ $t('global.loginUpload') }}</span>
</template>
</div>
</template>

View file

@ -8,11 +8,13 @@
<div style="margin-right: 20px;">
<template v-if="userStore.name">
<a-link @click="showPanel">&nbsp;&nbsp;{{ userStore.name }}&nbsp;&nbsp;</a-link>
<a-link @click="showPanel">&nbsp;&nbsp;{{ $t('global.upload') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.logout()">&nbsp;&nbsp;{{ $t('global.logout') }}&nbsp;&nbsp;</a-link>
</template>
<template v-else>
<a-link @click="userStore.setInfo({ showLogin: true })">&nbsp;&nbsp;{{ $t('global.login') }}&nbsp;&nbsp;</a-link>
<a-link @click="userStore.setInfo({ showRegister: true })">&nbsp;&nbsp;{{ $t('global.register') }}&nbsp;&nbsp;</a-link>
<span style="color: #373737; margin: 10px;">{{ $t('global.loginUpload') }}</span>
</template>
</div>
</template>