mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 11:52:07 +08:00
file config
This commit is contained in:
@@ -91,6 +91,12 @@ module.exports = appInfo => {
|
||||
};
|
||||
|
||||
config.ejs = {};
|
||||
|
||||
config.multipart = {
|
||||
mode: 'file',
|
||||
fileExtensions: [ '.xlsx' ] // 增加你需要的文件扩展名
|
||||
};
|
||||
|
||||
return {
|
||||
...config,
|
||||
...userConfig,
|
||||
|
||||
Reference in New Issue
Block a user