⬆️ Upgrade: ts & electron version

This commit is contained in:
Molunerfinn
2019-12-20 10:56:57 +08:00
parent 1d98601757
commit 87638a2882
6 changed files with 217 additions and 44 deletions

View File

@@ -78,7 +78,7 @@
<el-form-item
label="快捷上传"
>
<el-input
<el-input
class="align-center"
@keydown.native.prevent="keyDetect($event)"
v-model="shortKey"

9
src/universal/types/shims-module.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
declare module '*.vue' {
import Vue from 'vue'
export default Vue
}
// third-party
declare module 'fix-path' {
function fixPath(): void
export default fixPath
}

View File

@@ -1,4 +0,0 @@
declare module '*.vue' {
import Vue from 'vue'
export default Vue
}

View File

@@ -88,12 +88,6 @@ declare enum PasteStyle {
// global value
declare var __static: string
// third-party
declare module 'fix-path' {
function fixPath(): void
export default fixPath
}
// PicGo Types
declare enum PicGoHelperType {
afterUploadPlugins = 'afterUploadPlugins',