……

2022年12月2日

摘要: handlePara(){ if(this.linkUrl){ // tempArr 是一个字符串数组 格式是["key=value", "key=value", ...] this.tempArr = this.linkUrl.split("?")[1]; if (this.tempArr != 阅读全文

posted @ 2022-12-02 15:15 WALL*E 阅读(41) 评论(0) 推荐(0) 编辑

2022年9月26日

摘要: git merge命令用于合并指定分支到当前分支。 首先拉取代码到自己服务器上 1.切换到master主分支上 git checkout master 2.master更新pull到本地 git pull origin master 3.checkout到自己的分支 git checkout dev 阅读全文

posted @ 2022-09-26 14:09 WALL*E 阅读(461) 评论(0) 推荐(0) 编辑

2022年8月22日

摘要: <el-cascader size="large" :options="options" placeholder="请选择地区" expand-trigger="hover" ref="cascaderAddr" v-model="selectedOptions" @change="handleCh 阅读全文

posted @ 2022-08-22 13:44 WALL*E 阅读(148) 评论(0) 推荐(0) 编辑

摘要: creatQrCode(hospitalId,ref,qrcodeWid) {//生成二维码 var qrcode ='' qrcode = new QRCode(ref, { text: hospitalId, // 需要转换为二维码的内容 width: qrcodeWid, height: qr 阅读全文

posted @ 2022-08-22 13:36 WALL*E 阅读(51) 评论(0) 推荐(0) 编辑

摘要: getTime(){ let timess = new Date(); const formTime = { y: timess.getFullYear(), m: timess.getMonth() + 1, d: timess.getDate(), h: timess.getHours(), s 阅读全文

posted @ 2022-08-22 13:35 WALL*E 阅读(48) 评论(0) 推荐(0) 编辑

2022年8月13日

摘要: 打开App如有登录进入内页,没有则进入登录页面。 main.dart配置 routes: { // 注册路由表 "/": (context) => const Welcome(), "home": (context){ bool firstSetNet = true; ModalRoute? mod 阅读全文

posted @ 2022-08-13 17:31 WALL*E 阅读(120) 评论(0) 推荐(0) 编辑

摘要: 初始化 @override void initState(){ super.initState(); //可写方法…… } setState(() {}); 相当于vue的双向绑定方法,将要动态改变的数据放在{里} 页面跳转并销毁数据 Navigator.pushAndRemoveUntil(con 阅读全文

posted @ 2022-08-13 17:09 WALL*E 阅读(625) 评论(0) 推荐(0) 编辑

摘要: 带有输入框的弹窗 //弹窗 Future<void> _chooseNetWork(context) async { late String _password; showCupertinoDialog( context: context, builder: (context) { return C 阅读全文

posted @ 2022-08-13 17:03 WALL*E 阅读(411) 评论(0) 推荐(0) 编辑

摘要: //直接写判断 ?: child: !clothList.isNotEmpty ? ListView( children: [ const SizedBox(height: 30), // 距离顶部一个工具栏的高度 widget.type==2? childText():const SizedBox 阅读全文

posted @ 2022-08-13 16:58 WALL*E 阅读(202) 评论(0) 推荐(0) 编辑

摘要: 一、在main入口配置 void main() async{ // SystemChrome.setEnabledSystemUIOverlays([]);//隐藏状态栏,底部按钮栏 // SystemChrome.setEnabledSystemUIOverlays([SystemUiOverla 阅读全文

posted @ 2022-08-13 16:22 WALL*E 阅读(864) 评论(0) 推荐(0) 编辑