
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
dynamic-tag
Advanced tools
<!-- * @Author: your name * @Date: 2021-01-20 10:21:21 * @LastEditTime: 2021-03-16 16:19:14 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \dynamic-tag\README.md --> # dynamic-tag
可对多个标签进行编辑或新增删除,支持字符串数组或对象数组,拖动排序等。双击即可编辑已有标签,费编辑状态下拖动排序。
yarn add dynamic-tag
npm i dynamic-tag
依赖项:element-ui
<dynamic-tag v-model="tags" :type="['', 'danger']" @change="onChange" @close="onClose" />
import DynamicTag from 'dynamic-tag'
export default {
components: { DynamicTag },
data () {
return {
tags: ['asd', '和人', '但是公司的']
}
},
methods: {
onClose () {
console.log('删除标签')
},
onChange () {
console.log(this.tags)
this.$forceUpdate()
}
}
}
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
maxlength | 每个标签最多字符数 | Number String | -- | 10 |
count | 标签最多个数 | Number String | -- | 8 |
type | 标签样式 | String Array | '' 'danger' 'success' 'info' 'warning' 如果为数组,将会在多个颜色中循环使用 | '' |
addible | 是否可以新增 | Boolean | true false | true |
editable | 是否可以编辑 | Boolean | true false | true |
closable | 是否可以删除 | Boolean | true false | true |
disabled | 是否禁用 | Boolean | true false | false |
addName | 新增按钮名称 | String | '' | '+ 新增标签' |
objectKey | 对象键名,当绑定的值为对象数组时必填 | String | '' | '' |
drag | 是否开启拖拽排序 | Boolean | true false | true |
方法名| 参数 | 说明
FAQs
<!-- * @Author: your name * @Date: 2021-01-20 10:21:21 * @LastEditTime: 2021-03-16 16:19:14 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \dynamic-tag\README.md --> # dynamic-tag
The npm package dynamic-tag receives a total of 14 weekly downloads. As such, dynamic-tag popularity was classified as not popular.
We found that dynamic-tag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.