需求
This commit is contained in:
@@ -256,7 +256,7 @@ const StorageManager = () => {
|
||||
|
||||
// 判断是否是HTML
|
||||
const isHtml = (file) => {
|
||||
return file.metadata?.mimetype === "text/html";
|
||||
return file.metadata?.mimetype === "text/html"||file.metadata?.mimetype === "text/plain";
|
||||
};
|
||||
|
||||
// 保存文件内容
|
||||
|
||||
Reference in New Issue
Block a user