mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
修复个人中心笔记中,导入的图片笔记,进行编辑删除图片无效
This commit is contained in:
@@ -195,9 +195,7 @@ export default {
|
|||||||
if(num == 1) {
|
if(num == 1) {
|
||||||
this.editdata.isAuto = true;
|
this.editdata.isAuto = true;
|
||||||
}
|
}
|
||||||
if(this.imgContent.length > 0) {
|
|
||||||
this.editdata.content = this.imgContent.join();
|
this.editdata.content = this.imgContent.join();
|
||||||
}
|
|
||||||
apiNote.update(this.editdata).then(res=>{
|
apiNote.update(this.editdata).then(res=>{
|
||||||
if(res.status == 200) {
|
if(res.status == 200) {
|
||||||
localStorage.removeItem(this.localStorageKey); //清空本地缓存
|
localStorage.removeItem(this.localStorageKey); //清空本地缓存
|
||||||
|
|||||||
Reference in New Issue
Block a user