[ci skip] WIP remove newContent/plain handle in setActiveFiles

上级 5c9eacd8
......@@ -95,8 +95,6 @@ const RepoStore = {
if (file.binary) {
RepoStore.blobRaw = file.base64;
RepoStore.binaryMimeType = file.mime_type;
} else {
RepoStore.blobRaw = file.newContent || file.plain;
}
if (!file.loading) RepoHelper.toURL(file.url, file.name);
......@@ -213,7 +211,6 @@ const RepoStore = {
},
toggleBlobView() {
console.log('toggleBlobView');
RepoStore.currentBlobView = RepoStore.currentBlobView === 'preview' ? 'repo-editor' : 'preview';
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册