talk_appAmin/pages/common/file/fileUpload/Cropping.vue

45 lines
919 B
Vue

<template>
</template>
<script setup>
import { getQNtoken, addFileList } from "@/api/qiniu/info";
import config1 from "@/config";
import { ref, reactive, getCurrentInstance, defineEmits,watch } from 'vue';
import { useStore } from 'vuex';
import * as qiniu from 'qiniu-js'
const fileList1 = ref([])
const emit = defineEmits();
const { proxy } = getCurrentInstance();
const uploadQiNiuDomain = config1.uploadQiNiuDomain;
const iconConfig = proxy.iconConfig;
const xszfileupcode = iconConfig.xszfileupcode;
const tu2x = iconConfig.tu2x;
const store = useStore();
const props = defineProps({
modelValue: [String, Object, Array],
show: {
type: Boolean,
default: false,
},
imgsrc: {
type: Object,
default: null,
},
fileSize: {
type: Number,
default: 100 * 1024 * 1024,
},
typeImgInfo: {
type: String,
default:'1'
}
});
</script>
<style lang="scss" scoped>
</style>