上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: 设置:localStorage.setItem("token", JSON.parse(res).data.token); 获取:that.token = localStorage.getItem('token') 一、什么是localStorage、sessionStorage 在HTML5中,新 阅读全文
posted @ 2019-04-09 09:14 bingxiaoxiao 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: <script> var vm = new Vue({ el: '#box', data: { token: "", head_pic: "", }, created: function () { var that = this that.token = sessionStorage.getItem 阅读全文
posted @ 2019-04-01 18:54 bingxiaoxiao 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Document 阅读全文
posted @ 2019-03-21 16:50 bingxiaoxiao 阅读(751) 评论(0) 推荐(0) 编辑
摘要: Document 点击我会有惊喜呦!!!! 提交申诉 阅读全文
posted @ 2019-03-21 11:46 bingxiaoxiao 阅读(429) 评论(0) 推荐(0) 编辑
摘要: VS Code下载地址: https://code.visualstudio.com/ view in browser 和 Open-In-Browser 安装可在编辑器中打开html,在浏览器中运行,由于 VSCode 没有提供直接在浏览器中打开文件的内置界面,所以此插件在快捷菜单中添加了在默认浏 阅读全文
posted @ 2019-03-20 11:55 bingxiaoxiao 阅读(602) 评论(0) 推荐(0) 编辑
摘要: Vscode是一款开源的跨平台编辑器。默认情况下,vscode使用的语言为英文(en) 1)打开vscode工具; 2)使用快捷键组合【Ctrl+Shift+p】,在搜索框中输入“configure display language”,点击确定后; 3)修改locale.json文件下的属性“loc 阅读全文
posted @ 2019-03-20 11:46 bingxiaoxiao 阅读(59221) 评论(1) 推荐(1) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2019-03-19 11:16 bingxiaoxiao 阅读(2414) 评论(0) 推荐(0) 编辑
摘要: 打开vscode,在软件界面左下角找到“齿轮”标志并点击,在弹出的菜单中选择“设置”,把下面的代码添加到设置里。 阅读全文
posted @ 2019-03-19 11:06 bingxiaoxiao 阅读(3981) 评论(0) 推荐(0) 编辑
摘要: match() 方法可在字符串内检索指定的值,或找到一个或多个正则表达式的匹配。 该方法类似 indexOf() 和 lastIndexOf(),但是它返回指定的值,而不是字符串的位置。 阅读全文
posted @ 2019-03-16 11:27 bingxiaoxiao 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 小程序获取openid 小程序可以通过微信官方提供的登录能力方便地获取微信提供的用户身份标识,快速建立小程序内的用户体系。 wx.login(Object object) 调用接口获取登录凭证(code)。通过凭证进而换取用户登录态信息,包括用户的唯一标识(openid)及本次登录的会话密钥(ses 阅读全文
posted @ 2019-03-13 13:25 bingxiaoxiao 阅读(11963) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页