🚧 WIP: add support for URL uploading

This commit is contained in:
Molunerfinn
2020-02-21 22:25:48 +08:00
parent 024d9cf41e
commit 23ba2338c6
9 changed files with 104 additions and 39 deletions
+2
View File
@@ -8,6 +8,7 @@ import 'element-ui/lib/theme-chalk/index.css'
import VueLazyLoad from 'vue-lazyload'
import axios from 'axios'
import mainMixin from './renderer/utils/mainMixin'
import bus from '@/utils/bus'
webFrame.setVisualZoomLevelLimits(1, 1)
webFrame.setLayoutZoomLevelLimits(0, 0)
@@ -25,6 +26,7 @@ Vue.prototype.$builtInPicBed = [
]
Vue.prototype.$db = db
Vue.prototype.$http = axios
Vue.prototype.$bus = bus
Vue.use(ElementUI)
Vue.use(VueLazyLoad)