
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
lcap-camera
Advanced tools
<!-- 该 README.md 根据 api.yaml 和 docs/*.md 自动生成,为了方便在 GitHub 和 NPM 上查阅。如需修改,请查看源文件 -->
Form
开启/关闭摄影头,支持截图、上传等功能
<lcap-camera></lcap-camera>
<template>
<lcap-camera list-type="image"
url="/gateway/lowcode/api/v1/app/upload" v-model="value"
converter="json">
</lcap-camera>
</template>
<script>
export default {
data() {
return {
value: '[]',
};
},
};
</script>
| Prop/Attr | Type | Options | Default | Description |
|---|---|---|---|---|
| width | string | 800 | 宽度 | |
| height | string | 600 | 高度 | |
| value.sync, v-model | Array | [] | 当前文件列表 | |
| url | string | 上传的地址 |
刚发送时触发
| Param | Type | Description |
|---|---|---|
| $event | object | 自定义事件对象 |
| $event.data | object | 进度相关信息 |
| $event.preventDefault | Function | 阻止上传流程 |
| senderVM | UUploader | 发送事件对象 |
发送进度改变时触发,在上传进度条时使用
| Param | Type | Description |
|---|---|---|
| $event | object | 自定义事件对象 |
| $event.data | object | 进度相关信息 |
| senderVM | UUploader | 发送事件对象 |
上传完成时触发
| Param | Type | Description |
|---|---|---|
| $event | object | 自定义事件对象 |
| $event.xml | string | 服务器回传信息 |
| senderVM | UUploader | 发送事件对象 |
上传成功时触发
| Param | Type | Description |
|---|---|---|
| $event | object | 自定义事件对象 |
| $event.data | object | 服务器回传信息对象 |
| $event.file | object | 上传文件信息,不包含文件主体内容 |
| senderVM | UUploader | 发送事件对象 |
上传报错时触发
| Param | Type | Description |
|---|---|---|
| $event | object | 自定义事件对象 |
| $event.name | string | 错误名 |
| $event.message | string | 错误描述 |
| $event.extensions | string | 限制类型 |
| $event.maxSize | number | 限制大小 |
| $event.size | number | 当前大小 |
| senderVM | UUploader | 发送事件对象 |
Methods
开启摄像头
| Param | Type | Default | Description |
|---|
关闭摄像头
| Param | Type | Default | Description |
|---|
截图并且上传
| Param | Type | Default | Description |
|---|
FAQs
<!-- 该 README.md 根据 api.yaml 和 docs/*.md 自动生成,为了方便在 GitHub 和 NPM 上查阅。如需修改,请查看源文件 -->
The npm package lcap-camera receives a total of 4 weekly downloads. As such, lcap-camera popularity was classified as not popular.
We found that lcap-camera demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.