|
|
@ -43,13 +43,16 @@
|
|
|
|
<template #rightButton>
|
|
|
|
<template #rightButton>
|
|
|
|
<el-button @click="sync" type="primary" link v-if="mode === 'installed'">{{ $t('app.sync') }}</el-button>
|
|
|
|
<el-button @click="sync" type="primary" link v-if="mode === 'installed'">{{ $t('app.sync') }}</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<template #main>
|
|
|
|
<template #main>
|
|
|
|
<div class="update-prompt" v-if="mode === 'update'">
|
|
|
|
<div class="update-prompt" v-if="mode === 'update' && data == null">
|
|
|
|
<span>{{ $t('app.updatePrompt') }}</span>
|
|
|
|
<el-empty
|
|
|
|
<div>
|
|
|
|
:description="$t('app.updatePrompt')"
|
|
|
|
<img src="@/assets/images/no_update_app.svg" />
|
|
|
|
image="/src/assets/images/no_update_app.svg"
|
|
|
|
</div>
|
|
|
|
:image-size="200"
|
|
|
|
|
|
|
|
></el-empty>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="5">
|
|
|
|
<el-row :gutter="5">
|
|
|
|
<el-col v-for="(installed, index) in data" :key="index" :span="12">
|
|
|
|
<el-col v-for="(installed, index) in data" :key="index" :span="12">
|
|
|
|
<div class="app-card">
|
|
|
|
<div class="app-card">
|
|
|
@ -169,7 +172,7 @@ import Status from '@/components/status/index.vue';
|
|
|
|
import { getAge } from '@/utils/util';
|
|
|
|
import { getAge } from '@/utils/util';
|
|
|
|
import { useRouter } from 'vue-router';
|
|
|
|
import { useRouter } from 'vue-router';
|
|
|
|
|
|
|
|
|
|
|
|
let data = ref<any>();
|
|
|
|
let data = ref<any>([]);
|
|
|
|
let loading = ref(false);
|
|
|
|
let loading = ref(false);
|
|
|
|
let timer: NodeJS.Timer | null = null;
|
|
|
|
let timer: NodeJS.Timer | null = null;
|
|
|
|
const paginationConfig = reactive({
|
|
|
|
const paginationConfig = reactive({
|
|
|
|