上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
  2021年4月29日
摘要: 转载此作者 https://zhuanlan.zhihu.com/p/51746015 .env文件为全局环境变量,可以在启动的项目中任何位置使用,主要用于线上环境和开发环境的配置文件替换。 .env.development 模式用于serve,开发环境,就是开始环境的时候会引用这个文件里面的配置 阅读全文
posted @ 2021-04-29 15:42 危险* 阅读(601) 评论(0) 推荐(0) 编辑
摘要: https://www.makeapie.com/explore.html 阅读全文
posted @ 2021-04-29 09:56 危险* 阅读(34) 评论(0) 推荐(0) 编辑
  2021年4月27日
摘要: 小程序.还有看完vue小程序的各种传值echart里面的websoekt 看看最基础的表格,表单之类的 v-if和v-show的区别,vuex有没有缓存,如果想缓存起来怎么做.vuex的几种属性vue刷新了页面丢失了怎么办还有,小程序想缓存怎么做.还有路由导航钩子v-for的优先级页面缓存typeo 阅读全文
posted @ 2021-04-27 14:25 危险* 阅读(26) 评论(0) 推荐(0) 编辑
摘要: // 得到剩余审核时间 getTimes(item) { console.log(this.changeDate(new Date(item.checkTimeStr)), this.changeDate(new Date(item.endTimeStr))) // examineTime审核时长 阅读全文
posted @ 2021-04-27 14:09 危险* 阅读(37) 评论(0) 推荐(0) 编辑
  2021年4月19日
摘要: delete obj.hobby 阅读全文
posted @ 2021-04-19 16:06 危险* 阅读(48) 评论(0) 推荐(0) 编辑
  2021年4月16日
摘要: vue在数据data里面引入图片语法是require("") 阅读全文
posted @ 2021-04-16 14:05 危险* 阅读(512) 评论(0) 推荐(0) 编辑
  2021年4月15日
摘要: git init本地仓库初始化git remote add origin git@xxx将本地仓库与远程库关联git remote -v查看远程库详细信息git add . git commit 提交修改到本地git push origin master推送该分支到远程仓库对应的分支(完成) git 阅读全文
posted @ 2021-04-15 11:04 危险* 阅读(77) 评论(0) 推荐(0) 编辑
  2021年4月14日
摘要: // 预览附件 handlePreview(file) { console.log(file); if (file.name.indexOf("txt") == "-1") { const link = document.createElement("a"); document.body.appen 阅读全文
posted @ 2021-04-14 11:39 危险* 阅读(1570) 评论(0) 推荐(0) 编辑
  2021年2月25日
摘要: 一、小程序通过id属性传值 当我们在标签上添加id属性进行传值,可以在当前标签添加点击事件来获取id中的值。 <view class="container"> <view class="usermotto"> <!-- 传入普通字符串数值 --> <button class="user-motto" 阅读全文
posted @ 2021-02-25 17:13 危险* 阅读(2283) 评论(0) 推荐(0) 编辑
摘要: 1.全局变量 app.js里 App({ //全局变量 globalData: { userInfo: null, host: 'http://localhost:8080/data.json' } 在其他js页面取值: const app = getApp() //获取应用实例 必须有这个才能获取 阅读全文
posted @ 2021-02-25 17:03 危险* 阅读(150) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页