简化icon

This commit is contained in:
Harvey Zack committed 2019-05-06 13:34:49 +08:00
1 parent d9b38d8e72
commit 4d537d3872
11 files changed
+58 -51

No files matched your search

+11 -14
View File
@@ -1,16 +1,3 @@
function i18nMix(i18n) {
i18n.update({
'zh-cn': {
'Playback of this file format is not supported': '不支持播放该文件格式',
'Load local video successfully': '加载本地视频成功',
},
'zh-tw': {
'Playback of this file format is not supported': '不支持播放該文件格式',
'Load local video successfully': '加載本地視頻成功',
},
});
}
export default function localPreview(art) {
const { append, setStyle, setStyles, sleep } = art.constructor.utils;
const {
@@ -21,7 +8,17 @@ export default function localPreview(art) {
template,
player,
} = art;
i18nMix(i18n);
i18n.update({
'zh-cn': {
'Playback of this file format is not supported': '不支持播放该文件格式',
'Load local video successfully': '加载本地视频成功',
},
'zh-tw': {
'Playback of this file format is not supported': '不支持播放該文件格式',
'Load local video successfully': '加載本地視頻成功',
},
});
function loadVideo(file) {
if (file) {