Keystone JS:本地文件上传被自动重命名 [英] Keystone JS: local file uploads being auto-renamed
本文介绍了Keystone JS:本地文件上传被自动重命名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我在上传名称被更改为随机值后上传文件时,该怎么办?我认为这是梯形失真校正的默认功能.如何停止此操作?
Whenever i am uploading file after upload name is getting change to random value? I think it is default function of keystone.How can i stop this?
推荐答案
您可以将originalName: true
传递给架构配置.这为您提供了两个名称作为参考.
You can pass originalName: true
to the schema configuration. This gives you both names as a reference.
这篇关于Keystone JS:本地文件上传被自动重命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文