From 5b1f165528c68f22d1dd19fa85d080896c985902 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 17 Nov 2020 16:04:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E5=88=9D=E5=A7=8B=E5=B0=B1?= =?UTF-8?q?=E5=87=BA=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/import-png.d.ts | 8 ++++++++ src/layout/Regime.vue | 2 +- src/views/mine/Archives.vue | 5 +++-- src/views/mine/ReleaseVideo.vue | 4 +++- src/views/mine/ReleaseWebcast.vue | 4 +++- yarn.lock | 5 +++++ 7 files changed, 24 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2fee0c7..86a6df9 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "trtc-js-sdk": "^4.6.5", "vod-js-sdk-v6": "^1.4.10", "vue": "^3.0.0-0", + "vue-cropper": "^0.5.5", "vue-router": "^4.0.0-0", "vuex": "^4.0.0-0" }, diff --git a/src/import-png.d.ts b/src/import-png.d.ts index 607160a..faab5e1 100644 --- a/src/import-png.d.ts +++ b/src/import-png.d.ts @@ -18,6 +18,14 @@ declare module 'tim-js-sdk'{ export default value; } +declare module 'vue-cropper'{ + const VueCropper: any + export { + VueCropper + } +} + + declare var FB: any; declare var TCPlayer: any; \ No newline at end of file diff --git a/src/layout/Regime.vue b/src/layout/Regime.vue index 65cd1f2..abb0adb 100644 --- a/src/layout/Regime.vue +++ b/src/layout/Regime.vue @@ -1,7 +1,7 @@