mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
code refactor
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
<p>{{ $t('You can scan the below QR code on your mobile device.') }}</p>
|
||||
</v-card-text>
|
||||
<v-card-text class="pa-4 w-100 d-flex justify-center">
|
||||
<img alt="qrcode" class="img-url-qrcode" src="/qrcode/mobile_url.png" />
|
||||
<img alt="qrcode" class="img-url-qrcode" :src="mobileUrlQrCodePath" />
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-btn :href="mobileVersionPath">{{$t('Switch to Mobile Version') }}</v-btn>
|
||||
@@ -200,6 +200,7 @@ import { useSettingsStore } from '@/stores/setting.js';
|
||||
import { useUserStore } from '@/stores/user.js';
|
||||
|
||||
import { getSystemTheme } from '@/lib/ui.js';
|
||||
import { getMobileUrlQrCodePath } from '@/lib/qrcode.js';
|
||||
import { getMobileVersionPath } from '@/lib/version.js';
|
||||
|
||||
import {
|
||||
@@ -257,6 +258,9 @@ export default {
|
||||
const { mdAndDown } = useDisplay();
|
||||
return mdAndDown.value;
|
||||
},
|
||||
mobileUrlQrCodePath() {
|
||||
return getMobileUrlQrCodePath();
|
||||
},
|
||||
mobileVersionPath() {
|
||||
return getMobileVersionPath();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user