diff --git a/apps/jingrow/frontend/src/views/dev/AppInstaller.vue b/apps/jingrow/frontend/src/views/dev/AppInstaller.vue index edf6c9a..6fa6e92 100644 --- a/apps/jingrow/frontend/src/views/dev/AppInstaller.vue +++ b/apps/jingrow/frontend/src/views/dev/AppInstaller.vue @@ -68,16 +68,6 @@ -
- - - -
-
@@ -134,7 +124,7 @@ import { ref, onMounted, h } from 'vue' import { NIcon, NButton, NSpace, NCard, NUpload, NUploadDragger, NText, NP, - NFormItem, NInput, NModal, NProgress, NDataTable, useMessage, NAlert, + NModal, NProgress, NDataTable, useMessage, NAlert, type UploadFileInfo, type DataTableColumns } from 'naive-ui' import { Icon } from '@iconify/vue' @@ -144,7 +134,6 @@ import { get_session_api_headers } from '@/shared/api/auth' import { t } from '@/shared/i18n' const fileList = ref([]) -const appName = ref('') const uploading = ref(false) const installing = ref(false) const installProgress = ref(0) @@ -249,9 +238,6 @@ const startUpload = async () => { const formData = new FormData() formData.append('file', file) - if (appName.value.trim()) { - formData.append('app_name', appName.value.trim()) - } installProgress.value = 30 installMessage.value = t('Uploading file...') @@ -300,7 +286,6 @@ const startUpload = async () => { const clearFiles = () => { fileList.value = [] - appName.value = '' uploadRef.value?.clear() } @@ -427,12 +412,6 @@ onMounted(() => { text-align: center; } -.app-name-input { - margin-top: 20px; - padding-top: 20px; - border-top: 1px solid #e5e7eb; -} - .upload-actions { margin-top: 20px; padding-top: 20px;