feat: Optimization of file upload limit quantity
This commit is contained in:
parent
b709de30b9
commit
27a26f34b3
@ -29,7 +29,8 @@
|
|||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-dropdown-item class="border-t"
|
<el-dropdown-item
|
||||||
|
class="border-t"
|
||||||
@click="router.push({ path: `/system/user` })"
|
@click="router.push({ path: `/system/user` })"
|
||||||
v-if="
|
v-if="
|
||||||
hasPermission(
|
hasPermission(
|
||||||
@ -45,11 +46,9 @@
|
|||||||
>
|
>
|
||||||
<div class="flex-between w-full">
|
<div class="flex-between w-full">
|
||||||
{{ $t('views.system.title') }}
|
{{ $t('views.system.title') }}
|
||||||
<AppIcon iconName="app-go"></AppIcon>
|
|
||||||
</div>
|
</div>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
|
|
||||||
@click="openResetPassword"
|
@click="openResetPassword"
|
||||||
v-if="
|
v-if="
|
||||||
hasPermission(
|
hasPermission(
|
||||||
|
|||||||
@ -158,9 +158,9 @@ const submitHandle = async (formEl: FormInstance | undefined) => {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
MsgSuccess(t('common.createSuccess'))
|
MsgSuccess(t('common.createSuccess'))
|
||||||
if (isWorkFlow(applicationForm.value.type)) {
|
if (isWorkFlow(applicationForm.value.type)) {
|
||||||
router.push({ path: `/application/${res.data.id}/workflow` })
|
router.push({ path: `/application/workspace/${res.data.id}/workflow` })
|
||||||
} else {
|
} else {
|
||||||
router.push({ path: `/application/${res.data.id}/${res.data.type}/setting` })
|
router.push({ path: `/application/workspace/${res.data.id}/${res.data.type}/setting` })
|
||||||
}
|
}
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
})
|
})
|
||||||
|
|||||||
@ -249,9 +249,9 @@ const submitHandle = async (formEl: FormInstance | undefined) => {
|
|||||||
MsgSuccess(t('common.createSuccess'))
|
MsgSuccess(t('common.createSuccess'))
|
||||||
emit('refresh')
|
emit('refresh')
|
||||||
if (isWorkFlow(applicationForm.value.type)) {
|
if (isWorkFlow(applicationForm.value.type)) {
|
||||||
router.push({ path: `/application/${res.data.id}/workflow` })
|
router.push({ path: `/application/workspace/${res.data.id}/workflow` })
|
||||||
} else {
|
} else {
|
||||||
router.push({ path: `/application/${res.data.id}/${res.data.type}/setting` })
|
router.push({ path: `/application/workspace/${res.data.id}/${res.data.type}/setting` })
|
||||||
}
|
}
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
})
|
})
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
show-input
|
show-input
|
||||||
:show-input-controls="false"
|
:show-input-controls="false"
|
||||||
:min="1"
|
:min="1"
|
||||||
:max="10"
|
:max="100"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
@ -34,7 +34,7 @@
|
|||||||
show-input
|
show-input
|
||||||
:show-input-controls="false"
|
:show-input-controls="false"
|
||||||
:min="1"
|
:min="1"
|
||||||
:max="100"
|
:max="1000"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user