第一次笔记(案例)

这篇博客记录了作者作为前端开发新手的学习心得,涵盖了HTML、CSS和JavaScript的基础知识,通过一个实际的小项目展示了如何将这些技术结合应用。
摘要由CSDN通过智能技术生成
export default {
    data: {
        todoList:[
         {
            info:'给老王打个电话',
            status : true
        },
        {
            info:'输出工作计划',
            status : false
        },
        {
            info:'和小王对接需求',
            status : true
        },
        {
            info:'整理客户资料',
             status : false
        },
         {
             info: '和朋友一起聚餐',
             status: false
         }
        ]
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    remove(index){
    console.log(index)
    this.todoList.splice(index,1);
    },
    switchChange(index){
    this.todoList[index].status = !this.todoList[index].status
    },
    addTodo(){
        this.todoList.push({
            info: 'IDE工具无法监听键盘输入',
            status: false
            })
    },
    computed :{
        todocount(){
            let num =0;
            this.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值