chore: 修复 gh-pages 编译报错

This commit is contained in:
吴多益 2021-10-13 13:15:56 +08:00 committed by GitHub
parent 4cd472f719
commit 62aba569b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ const versionHash = fis.util.md5(package.version);
Resource.extend({
buildResourceMap: function () {
const resourceMap = this.__super();
if (resourceMap === '') {
return '';
}
const map = JSON.parse(resourceMap.substring(20, resourceMap.length - 2));