
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
utils-upload-files
Advanced tools
该组件默认为透明,高度和宽度充满父元素,嵌入父元素的标签内即可
npm install cl-upload-files-test
npm install cl-upload-files-prod
multiple: type: Boolean, // 是否多选 默认为false
type: type: String, // 上传类型 img, text 默认为img
clearInput: type: Number, // 清除input的value 传一个数字即可 +new Date()
uploadBucket: type: String 上传方式 cl 或者 oss 默认为cl
uploadPath type: String, // 上传地址,根据项目区分 辅导:coaching 默认为coaching
qualitytype: Number, // 图片压缩率 它必须是0和1之间的数字 默认为0.7
<template>
<div id="app">
<uploadFile @fileMsg="fileMsg" uploadBucket="oss"></uploadFile>
</div>
</template>
<script>
import uploadFile from 'cl-upload-files'
export default {
components: { uploadFile },
data() {
return {
fileList: []
}
},
methods: {
fileMsg(data) {
console.log(data)
if (data.code == 200) {
this.fileList = data.info;
} else {
alert(data.msg)
}
}
}
}
<script>
FAQs
## 提示 ``` 该组件默认为透明,高度和宽度充满父元素,嵌入父元素的标签内即可 ```
We found that utils-upload-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.