mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 08:31:45 +08:00
del: 删除构建日期设定
This commit is contained in:
@@ -86,7 +86,6 @@ export const systemApi = {
|
||||
info: () =>
|
||||
request<{
|
||||
version: string
|
||||
build_date: string
|
||||
initialized: boolean
|
||||
platform: PlatformCapabilities
|
||||
capabilities: {
|
||||
|
||||
@@ -548,7 +548,6 @@ export default {
|
||||
usernameDesc: 'Change the console login username',
|
||||
passwordDesc: 'Change the console login password',
|
||||
version: 'Version',
|
||||
buildInfo: 'Build Info',
|
||||
detectDevices: 'Detect Devices',
|
||||
detecting: 'Detecting...',
|
||||
networkSettings: 'Network Settings',
|
||||
|
||||
@@ -547,7 +547,6 @@ export default {
|
||||
usernameDesc: '修改控制台登录用户名',
|
||||
passwordDesc: '修改控制台登录密码',
|
||||
version: '版本',
|
||||
buildInfo: '构建信息',
|
||||
detectDevices: '探测设备',
|
||||
detecting: '探测中...',
|
||||
networkSettings: '网络设置',
|
||||
|
||||
@@ -150,7 +150,6 @@ export interface DeviceInfoEvent {
|
||||
|
||||
export const useSystemStore = defineStore('system', () => {
|
||||
const version = ref<string>('')
|
||||
const buildDate = ref<string>('')
|
||||
const platform = ref<PlatformCapabilities | null>(null)
|
||||
const capabilities = ref<SystemCapabilities | null>(null)
|
||||
const diskSpace = ref<DiskSpaceInfo | null>(null)
|
||||
@@ -173,7 +172,6 @@ export const useSystemStore = defineStore('system', () => {
|
||||
try {
|
||||
const info = await systemApi.info()
|
||||
version.value = info.version
|
||||
buildDate.value = info.build_date
|
||||
platform.value = info.platform
|
||||
capabilities.value = info.capabilities
|
||||
diskSpace.value = info.disk_space ?? null
|
||||
@@ -429,7 +427,6 @@ export const useSystemStore = defineStore('system', () => {
|
||||
|
||||
return {
|
||||
version,
|
||||
buildDate,
|
||||
platform,
|
||||
capabilities,
|
||||
diskSpace,
|
||||
|
||||
@@ -5221,7 +5221,6 @@ watch(isWindows, () => {
|
||||
<Label>{{ t('settings.currentVersion') }}</Label>
|
||||
<Badge variant="outline">
|
||||
{{ updateOverview?.current_version || systemStore.version || t('common.unknown') }}
|
||||
({{ systemStore.buildDate || t('common.unknown') }})
|
||||
</Badge>
|
||||
</div>
|
||||
<div class="space-y-2">
|
||||
|
||||
Reference in New Issue
Block a user