mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-03 06:42:09 +08:00
Fixed: memeory out bug
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
</template>
|
||||
<script>
|
||||
import mixin from '../mixin'
|
||||
import { picBed } from '../../../datastore/pic-bed'
|
||||
export default {
|
||||
name: 'upload',
|
||||
mixins: [mixin],
|
||||
@@ -132,7 +131,7 @@ export default {
|
||||
},
|
||||
getDefaultPicBed () {
|
||||
const current = this.$db.read().get('picBed.current').value()
|
||||
picBed.forEach(item => {
|
||||
this.$picBed.forEach(item => {
|
||||
if (item.type === current) {
|
||||
this.picBed = item.name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user