| | |
| | | const showVideo = ref(false) |
| | | const videoPlayerId = ref('videoPlayerId') |
| | | // 文件前缀 |
| | | const prefix = 'http://dev.jxpskj.com:9000/cloud-bucket' |
| | | const prefix = 'https://dev.jxpskj.com:8026/cloud-bucket' |
| | | // 搜索栏配置项 |
| | | const searchPanelOptions = reactive({ |
| | | size: 'large', |
| | |
| | | }) |
| | | |
| | | Promise.all(promiseList).then(res => { |
| | | console.log(res, '+++++++++++') |
| | | res.forEach(e => { |
| | | zip.file(e.name, e.data, { base64: true }) |
| | | }) |
| | |
| | | .then((response) => { |
| | | const ext = url.split('.')[1] |
| | | // 若文件名不以后缀结尾,则手动添加后缀 |
| | | if (!name.endsWith(ext)) { |
| | | name = name + '.' + ext |
| | | } |
| | | |
| | | resolve({ |
| | | name: name, |
| | | data: response.data |