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