qinzhipeng_v 5 năm trước cách đây
mục cha
commit
d52f03a340
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/Platform/bugManage/bugCreate.vue

+ 2 - 1
src/views/Platform/bugManage/bugCreate.vue

@@ -255,7 +255,8 @@ export default {
         this.fileDbList.push({ 'name': a.name, 'url': 'http:' + a.response.url })
       }
       console.log(this.fileDbList)
-      localStorage.setItem('updata', this.fileDbList)
+      localStorage.setItem('updata', [this.fileDbList])
+      console.log(localStorage.getItem('updata'))
       // }, 500)
     },
     async bugListSelect() {