![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
潇大侠~
这个作者很懒,什么都没留下…
展开
-
angular9中表格的全选,单选、提交数据例子
表格: <table class="table table-striped"> <thead> <tr> <th scope="col">序号</th> <th><input type="checkbox" [(ngModel)]="all" (change)="allSelect()"/></th>原创 2020-06-18 10:10:15 · 230 阅读 · 0 评论 -
小程序入门小笔记
全局存储和本地存储 一、全局存储: app.js 文件中设置,globalData对象就是存储全局变量 1.全局变量的设置 globalData: { userInfo: null } 2.全局变量的使用 (1)、在app.js文件中,直接使用,如: this.globalData.hasLogin (2)、在其他非app.js文件中使用,需要先申明app变量,如: var app = getAp...原创 2020-02-29 10:38:52 · 80 阅读 · 0 评论