增大在线导入自定义源文件的大小限制问题(#1857)

This commit is contained in:
lyswhut
2024-04-23 19:24:37 +08:00
parent a977458881
commit 10028cf500
2 changed files with 2 additions and 1 deletions
@@ -69,7 +69,7 @@ export default {
this.disabled = false
this.btnText = this.$t('user_api_import_online__input_confirm')
}
if (script.length > 90000) {
if (script.length > 3_000_000) {
void dialog(this.$t('user_api_import__failed', { message: 'Too large script' }))
return
}