应用市场如果应用已存在显示为已安装
This commit is contained in:
parent
c0b4367054
commit
d348a656c0
@ -19,10 +19,10 @@
|
||||
>
|
||||
<template #icon>
|
||||
<n-icon>
|
||||
<Icon :icon="isCurrentAppInstalled ? 'tabler:refresh' : 'tabler:download'" />
|
||||
<Icon :icon="isCurrentAppInstalled ? 'tabler:check' : 'tabler:download'" />
|
||||
</n-icon>
|
||||
</template>
|
||||
{{ isCurrentAppInstalled ? t('Update') : t('Install') }}
|
||||
{{ isCurrentAppInstalled ? t('Installed') : t('Install') }}
|
||||
</n-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
type="warning"
|
||||
@click="installApp(app)"
|
||||
>
|
||||
{{ t('Update') }}
|
||||
{{ t('Installed') }}
|
||||
</n-button>
|
||||
<n-button
|
||||
v-else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user