摘要:
输入大于0的正整数 代码如下: <input onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" on 阅读全文
摘要:
配置信息app.json: "window": { "backgroundTextStyle": "light",//非自定义字体位置 "navigationBarBackgroundColor": "#fff",//非自定义背景颜色 "navigationBarTitleText": "项目名", 阅读全文
摘要:
1. git log 定义:该命令显示从最近到最远的提交日志。每一次提交都有对应的 commit id 和 commit message。 💡如果嫌弃输出的信息杂乱无章,那么加上 --pretty=oneline 参数试试吧! 2. git reset --hard id/git checkout 阅读全文
摘要:
使用 <CalendarMonth default={true} method={this.state.checkType} room_id={this.state.roomNoValue.length > 0 && this.state.roomNoValue[0]} setCurrent={(c 阅读全文