diff --git a/frontend/src/views/app-store/installed/update/index.vue b/frontend/src/views/app-store/installed/update/index.vue index c957d6925..21a3b00ce 100644 --- a/frontend/src/views/app-store/installed/update/index.vue +++ b/frontend/src/views/app-store/installed/update/index.vue @@ -3,23 +3,22 @@ - - - {{ $t('app.versioneSelect') }} - - - - + + + + + + + - {{ $t('commons.button.cancel') }} @@ -34,11 +33,13 @@ import { App } from '@/api/interface/app'; import { GetAppUpdateVersions, InstalledOp } from '@/api/modules/app'; import i18n from '@/lang'; -import { ElMessageBox } from 'element-plus'; +import { ElMessageBox, FormInstance } from 'element-plus'; import { reactive, ref } from 'vue'; import Header from '@/components/drawer-header/index.vue'; import { MsgSuccess } from '@/utils/message'; +import { Rules } from '@/global/form-rules'; +const updateRef = ref(); let open = ref(false); let loading = ref(false); let versions = ref(); @@ -48,6 +49,9 @@ let operateReq = reactive({ installId: 0, }); const resourceName = ref(''); +let rules = ref({ + detailId: [Rules.requiredSelect], +}); const em = defineEmits(['close']); const handleClose = () => {
{{ $t('app.versioneSelect') }}