增大在线导入自定义源文件的大小限制问题(#1857)
parent
a977458881
commit
10028cf500
|
@ -5,6 +5,7 @@
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复存在多级弹窗时的背景显示问题
|
- 修复存在多级弹窗时的背景显示问题
|
||||||
|
- 增大在线导入自定义源文件的大小限制问题(#1857)
|
||||||
|
|
||||||
### 变更
|
### 变更
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ export default {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.btnText = this.$t('user_api_import_online__input_confirm')
|
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' }))
|
void dialog(this.$t('user_api_import__failed', { message: 'Too large script' }))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue