fix: 部分 bug 修复
This commit is contained in:
parent
1342a56ff5
commit
269922dd1c
|
@ -27,7 +27,7 @@
|
|||
v-if="props.activeFolderType === 'folder'"
|
||||
v-model:model-value="fileType"
|
||||
type="button"
|
||||
class="file-show-type min-w-[92px]"
|
||||
class="file-show-type min-w-[96px]"
|
||||
@change="changeFileType"
|
||||
>
|
||||
<a-radio value="module" class="show-type-icon">{{ t('project.fileManagement.module') }}</a-radio>
|
||||
|
|
|
@ -75,7 +75,12 @@
|
|||
></a-input>
|
||||
</a-form-item>
|
||||
<a-form-item :label="t('project.fileManagement.storagePlatform')" field="platform" asterisk-position="end">
|
||||
<a-radio-group v-model:model-value="activeStorageForm.platform" type="button" @change="platformChange">
|
||||
<a-radio-group
|
||||
v-model:model-value="activeStorageForm.platform"
|
||||
type="button"
|
||||
:disabled="isEdit"
|
||||
@change="platformChange"
|
||||
>
|
||||
<a-radio v-for="item of gitPlatformTypes" :key="item" :value="item">{{ item }}</a-radio>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
:ok-permission="['PROJECT_APPLICATION_BUG:UPDATE']"
|
||||
@cancel="handleCancel(false)"
|
||||
@confirm="handleConfirm"
|
||||
@close="handleCancel(false)"
|
||||
>
|
||||
<a-form ref="formRef" class="rounded-[4px]" :model="form" layout="vertical">
|
||||
<a-form-item field="platformKey" :label="t('project.menu.platformLabel')">
|
||||
|
@ -183,6 +184,7 @@
|
|||
const handleCancel = (shouldSearch: boolean) => {
|
||||
emit('cancel', shouldSearch);
|
||||
resetForm();
|
||||
form.PLATFORM_KEY = '';
|
||||
};
|
||||
const handlePlatformChange = async (value: SelectValue) => {
|
||||
platformRules.value = [];
|
||||
|
|
|
@ -63,7 +63,6 @@
|
|||
import { TaskCenterEnum } from '@/enums/taskCenter';
|
||||
|
||||
import type { ExtractedKeys } from './utils';
|
||||
import { on } from 'events';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
|
||||
import MsCard from '@/components/pure/ms-card/index.vue';
|
||||
import TaskCenter from '@/views/project-management/taskCenter/component/taskCom.vue';
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue