diff --git a/frontend/src/views/app-store/installed/upgrade/index.vue b/frontend/src/views/app-store/installed/upgrade/index.vue index d1d3ca057..4b782f0c8 100644 --- a/frontend/src/views/app-store/installed/upgrade/index.vue +++ b/frontend/src/views/app-store/installed/upgrade/index.vue @@ -33,6 +33,30 @@ + + + + + + + {{ $t('app.appOfficeWebsite') }} + + + + + + {{ $t('app.document') }} + + + + + + {{ $t('app.github') }} + + + + + @@ -69,17 +93,22 @@ const resourceName = ref(''); const rules = ref({ detailId: [Rules.requiredSelect], }); - +const app = ref(); const em = defineEmits(['close']); const handleClose = () => { open.value = false; em('close', open); }; -const acceptParams = (id: number, name: string, op: string) => { +const toLink = (link: string) => { + window.open(link, '_blank'); +}; + +const acceptParams = (id: number, name: string, op: string, appDetail: App.AppDetail) => { operateReq.installId = id; operateReq.operate = op; resourceName.value = name; + app.value = appDetail; GetAppUpdateVersions(id).then((res) => { versions.value = res.data; if (res.data != null && res.data.length > 0) {