错误
小白银
这个作者很懒,什么都没留下…
展开
-
学习uni-app中踩过的坑
uni-app中的onload不起作用在学习使用uni-app过程中在页面中使用onload是没问题的,但是如果在组件中使用onload的时候就是不起作用,最后找的问题的原因是:在组件不能使用页面周期函数,比如onload。可以在组件中使用mounted来代替去掉uni-app默认的头部导航找到pages.json这个文件,在globalStyle下面加一句:**“navigatio...原创 2020-02-11 15:18:15 · 735 阅读 · 0 评论 -
git commit 时出现:please enter the commit message for your changes
在项目中,提交git时,遇见Please enter the commit message for your changes. Lines startingwith '#' will be ignored, and an empty message aborts the commit.这个问题。一个人提交git时没有遇见这个问题,在团队开发时git pull之后出现。git stat...原创 2019-07-24 15:37:33 · 1675 阅读 · 0 评论