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