You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
更新 EasyImage.js
This commit is contained in:
@@ -210,6 +210,13 @@ $('#btnLinks, #btnBbscode, #btnMarkDown, #btnHtml, #btnThumb, #btnDel').on('clic
|
||||
placement: 'top'
|
||||
});
|
||||
|
||||
try { // 储存上传记录
|
||||
console.log('localStorage ok!');
|
||||
$.zui.store.set(result.srcName, result)
|
||||
} catch (err) {
|
||||
console.log('localStorage failed:' + err);
|
||||
}
|
||||
|
||||
} else {
|
||||
$.zui.messager.show('上传失败...' + result.message, {
|
||||
icon: 'bell',
|
||||
|
||||
Reference in New Issue
Block a user