업로드 제한 설정 위치 정리
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
* @property {boolean} editing - 편집 모드 여부
|
||||
* @property {boolean} saving - 저장 중 여부
|
||||
* @property {boolean} hasChanges - 변경 여부
|
||||
* @property {Array<{ value: number, label: string }>} uploadFileCountOptions - 업로드 파일 수 선택지
|
||||
* @property {Array<{ value: number, label: string }>} uploadTotalSizeOptions - 업로드 전체 용량 선택지
|
||||
*/
|
||||
defineProps({
|
||||
form: {
|
||||
@@ -24,14 +22,6 @@ defineProps({
|
||||
hasChanges: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
uploadFileCountOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
uploadTotalSizeOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
})
|
||||
|
||||
@@ -107,36 +97,6 @@ defineEmits(['begin', 'cancel', 'save'])
|
||||
{{ form.description?.trim() ? form.description : '—' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="admin-settings-screen__field grid gap-3 border-t border-[#eceff2] pt-5">
|
||||
<div>
|
||||
<span class="font-bold text-[#15171a]">업로드 제한</span>
|
||||
<p class="mt-1 text-xs leading-relaxed text-[#657080]">
|
||||
파일 추가나 글쓰기 미디어 업로드에서 한 번에 처리할 수 있는 최대치를 선택합니다.
|
||||
</p>
|
||||
</div>
|
||||
<div class="grid gap-3 sm:grid-cols-2">
|
||||
<div class="grid gap-1.5">
|
||||
<span class="text-xs font-semibold text-[#657080]">파일 수</span>
|
||||
<AdminSelectInput
|
||||
v-model="form.uploadMaxFileCount"
|
||||
:options="uploadFileCountOptions"
|
||||
label="업로드 파일 수"
|
||||
select-class="admin-settings-screen__select h-10 rounded-md border-[#dce0e5] text-[#15171a] focus:ring-1 focus:ring-[#15171a]"
|
||||
width-class="w-full"
|
||||
/>
|
||||
</div>
|
||||
<div class="grid gap-1.5">
|
||||
<span class="text-xs font-semibold text-[#657080]">전체 용량</span>
|
||||
<AdminSelectInput
|
||||
v-model="form.uploadMaxTotalSize"
|
||||
:options="uploadTotalSizeOptions"
|
||||
label="업로드 전체 용량"
|
||||
select-class="admin-settings-screen__select h-10 rounded-md border-[#dce0e5] text-[#15171a] focus:ring-1 focus:ring-[#15171a]"
|
||||
width-class="w-full"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-else class="admin-title-description-settings-card__edit admin-settings-screen__card-body grid gap-5">
|
||||
|
||||
Reference in New Issue
Block a user