Skip to content

Commit 039c9c3

Browse files
author
linxin
committed
fix:修复上传组件代码误删bug
1 parent 9bc43e2 commit 039c9c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/views/Upload.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
</template>
3838

3939
<script>
40-
40+
import { ref } from "vue";
41+
import VueCropper from "vue-cropperjs";
42+
import "cropperjs/dist/cropper.css";
43+
import defaultSrc from "../assets/img/img.jpg";
4144
export default {
4245
name: "upload",
4346
components: {

0 commit comments

Comments
 (0)