
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
vue-fullcalendar-zcj
Advanced tools
##vue-fullcalendar-zcj
在 vue-fullcalendar 的基础上修改的满足自己需求的日历插件。
import FullCalendar from 'vue-fullcalendar-zcj'
Vue.component('full-calendar', FullCalendar)
<full-calendar
:arrData="fcArrData"
@dayClick="dayClick"
@pullData="pullData"
@resetData="resetData"
@saveData="saveData">
</full-calendar>
let demoArrData = [{
time: '2019-05-05',
type: 2 // 1:工作日,2:休息日
}]
export default {
data () {
return {
fcArrData: []
}
},
created () {
this.resetData()
},
methods : {
// 拉取数据 由前端请求公共接口获取数据
pullData() {
this.fcArrData = [...demoArrData]
},
// 重置数据
resetData() {
this.fcArrData = [...demoArrData]
},
// 保存数据
saveData() {
// 保存 数据 然后重置数据
this.resetData()
},
// 点击日期 设置工作日、非工作日
dayClick (day, jsEvent, dayObj) {
let arr = []
for (let item of this.fcArrData) {
arr.push(item.time)
if (dayObj.datetime == item.time) {
item.type = item.type == 1 ? 2 : 1
}
}
if (arr.indexOf(dayObj.datetime) < 0) {
this.fcArrData.push({
time: dayObj.datetime,
type: 2
})
}
}
}
}
FAQs
vue日历工作日、休息日选择
The npm package vue-fullcalendar-zcj receives a total of 1 weekly downloads. As such, vue-fullcalendar-zcj popularity was classified as not popular.
We found that vue-fullcalendar-zcj 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.