09 2020 档案

摘要:const s=new Set(); [2,3,4,2,3,4,5,6,2,3,3].forEach(x=>s.add(x)) console.log(s); for(let i of s){ console.log(i) } console.log(s.add(9)); //add(value), 阅读全文
posted @ 2020-09-09 17:20 一只小菜鸟呀! 阅读(292) 评论(0) 推荐(0)
摘要:组件 popPicker.vue <template> <div> <mt-popup class="popPanel" position="bottom" v-model="currentVal" :closeOnClickModal="clickfalse" > <div class="pick 阅读全文
posted @ 2020-09-04 14:40 一只小菜鸟呀! 阅读(912) 评论(0) 推荐(0)
摘要:this.$router.push 1.跳转到指定URL,向history栈添加一个新的记录,点击后退会返回至上一个页面 2.声明式 <router-link :to="...."> 编程式 router.push(...)//该方法的参数可以是一个字符串路径,或者一个描述地址的对象。 this.$ 阅读全文
posted @ 2020-09-02 11:04 一只小菜鸟呀! 阅读(30180) 评论(0) 推荐(2)