logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

uni 里面 vue组件重新加载(刷新)

转载:https://www.cnblogs.com/s313139232/p/9176820.html第一种方法:利用v-if控制router-view,在根组件APP.vue中实现一个刷新方法<template><router-view v-if="isRouterAlive"/></template><script>export default

uni中获取时间戳和转换时间

最近在自学uni,需要判断时间。这个好像是vue的函数:this.useTime 的格式为 2020-4-16 14:20:56格式转换:var chooseTime = (new Date(this.useTime)).getTime();获取当前时间:var nowTime = (new Date()).getTime();注:getTime()是精确到毫秒的。...

Invalid prop: custom validator check failed for prop "navigationBarTextStyle"

vue.runtime.esm.js?e143:619 [Vue warn]: Invalid prop: custom validator check failed for prop "navigationBarTextStyle".学习uni,这个错误子啊小程序中不会出现,但在h5中就会出现。我的代码:"globalStyle": {"navigationBarT...

git 切换账号和密码。并非是用户和邮箱

如果只是修改提交用户的话,网上很多资料。而且也就两句命令:git config --global user.name "YOURUSERNAME"git config --global user.email "YOUREMAIL"我遇到的情况:1.colne了自己私人的一个项目到本地。我自己用的是码云。2.设置了用户名、邮箱。修改并提交。3.提交时,需要ssh,生成,并添加到git后台。4.提交时

到底了