code lint

This commit is contained in:
Yueyu 2021-10-13 06:28:38 +08:00
parent d656f28ca8
commit 06626cca07

View file

@ -139,7 +139,7 @@ export default class Page {
OS.duplicateAsset(md5, fileName);
me.md5 = name;
}
}
};
var isPng = md5.substr(md5.length - 3) == 'png';
if (isPng && (MediaLib.keys[name] || name.indexOf('/') > -1)) {