mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-01 14:09:38 +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
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import store from './store'
|
||||
import db from '../datastore/index'
|
||||
import { webFrame } from 'electron'
|
||||
import './assets/fonts/iconfont.css'
|
||||
import { picBed } from '../datastore/pic-bed'
|
||||
import picBed from '../datastore/pic-bed'
|
||||
Vue.use(ElementUI)
|
||||
|
||||
webFrame.setVisualZoomLevelLimits(1, 1)
|
||||
|
||||
Reference in New Issue
Block a user