首页 > 移动平台
axios拦截器
axios拦截器之axios.interceptors.request.use和axios.interceptors.response.use axios请求别名 axios是一个就promise的HTTP库,可以用在浏览器和node.js中,拦截请求 使用拦截器: 在请求或响应被 then 或 c ...
分类:移动平台   时间:2021-03-02 10:21:24    收藏:0  评论:0  赞:0  阅读:27
怎么模拟实现JavaScript的call和apply功能
call 简单的介绍call的作用: 我们可通过call()方法在指定this指向和传递若干个参数的条件下调用某个函数(function)。 举个简单的例子: var obj = { val: '2021' } function testCall(){ console.log(this.val); ...
分类:移动平台   时间:2021-03-02 10:20:55    收藏:0  评论:0  赞:0  阅读:27
同一台手机为何每次跑Appium项目都要手动点击安装appium-server?
起因是因为Appium项目运行过程中报错了: 报超时的错误,是因为没有点掉手机上的appium-server“允许安装”。 出现这个问题有两个原因: 1、手机开发者选项设置问题: —— 手机开发者选项 - usb设置, 我检查了下 USB设置,把安装应用通知开关关了就可以啦~ 2、Appium版本不 ...
分类:移动平台   时间:2021-03-01 22:55:14    收藏:0  评论:0  赞:0  阅读:46
Tcl中append lappend contact的区别
Should you use append, lappend or even concat to add to variable in Tcl? append puts one string directly on the end of another, without adding any ext ...
分类:移动平台   时间:2021-03-01 22:54:27    收藏:0  评论:0  赞:0  阅读:145
DOM怎么添加、移除、移动、复制、创建和查找节点
DOM怎么添加、移除、移动、复制、创建和查找节点 ...
分类:移动平台   时间:2021-03-01 21:54:49    收藏:0  评论:0  赞:0  阅读:25
dedecms织梦手机端伪静态
来分享几条dedecms手机端m的伪静态 nginx: rewrite ^/m/list-([0-9]+)-([0-9]+)-([0-9]+).html$ /m/list.php?tid=$1&totalresult=$2&PageNo=$3 last;rewrite ^/m/list-([0-9] ...
分类:移动平台   时间:2021-03-01 16:19:49    收藏:0  评论:0  赞:0  阅读:62
idea springboot升级到2.4.0之后 启动报错 Unable to load config data resource from pattern 'file:./config/*/application.yaml'
先前使用的是spring boot 2.2.6.RELEASE ,之后更新到spring boot2.4.0之后出错 Unable to load config data resource from pattern 'file:./config/*/application.yaml' 解决方法 环境 ...
分类:移动平台   时间:2021-03-01 11:42:44    收藏:0  评论:0  赞:0  阅读:689
安卓系统开发体温上报软件总结
这次寒假学校发布了一个制作安卓系统上上报体温app的任务,在这之前我根本没有接触过安卓软件的制作所以根本不知道该怎么做,好在最后根据网上的资料和自己的一些努力把app制作出来了,在这期间遇到到了很多困难。本次主要是对自己在软件开发进行总结。 无论干什么事情首先都要把工具准备好,安卓app开发的工具有 ...
分类:移动平台   时间:2021-03-01 10:24:59    收藏:0  评论:0  赞:0  阅读:28
03Mapper XML 文件(映射文件)
查询操作的select标签需要两个属性:id, resultType/resultMap(结果类型) 增删改标签只需要一个属性:id CRUD标签 select标签 insert标签 update delete 映射文件中语句接收方法参数 CRUD标签都有一个属性parameterType,stat ...
分类:移动平台   时间:2021-02-28 23:25:00    收藏:0  评论:0  赞:0  阅读:54
初始Vue3.0(12)——瞬间移动 第二部分
Teleport - 瞬间移动 第二部分 Modal 组件 <template> <teleport to="#modal"> <div id="center" v-if="isOpen"> <h2><slot>this is a modal</slot></h2> <button @click=" ...
分类:移动平台   时间:2021-02-28 21:52:42    收藏:0  评论:0  赞:0  阅读:28
spring源码解析-ApplicationContext 启动流程(3)- 执行 AbstractApplicationContext#finishBeanFactoryInitialization(ConfigurableListableBeanFactory) 方法
直接看源码 /** * * 完成所有单实例 bean 的实例化 * Finish the initialization of this context's bean factory, * initializing all remaining singleton beans. */ protected ...
分类:移动平台   时间:2021-02-28 21:50:32    收藏:0  评论:0  赞:0  阅读:22
Android弹出申请访问权限
//动态访问权限弹窗 public Boolean checkPermission() { boolean isGranted = true; if (android.os.Build.VERSION.SDK_INT >= 23) { if (this.checkSelfPermission(Man ...
分类:移动平台   时间:2021-02-28 21:46:23    收藏:0  评论:0  赞:0  阅读:49
关于android studio 开发flutter多个build.gradle的问题
一个在android 目录下,一个在android--app 目录下。 在android--app 目录下的build.gradle文件,可以设置 //混淆开启 解决Removing unused resources requires unused code shrinking to be rurn ...
分类:移动平台   时间:2021-02-28 15:21:30    收藏:0  评论:0  赞:0  阅读:36
appium版本不兼容selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. Details: Problem getting session data for driver type...........
遇到此类的提示:selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. Details: Problem getting session data for ...
分类:移动平台   时间:2021-02-28 15:18:39    收藏:0  评论:0  赞:0  阅读:55
iOS 14.5 有啥新功能?Apple Watch 也能解锁 iPhone 了
iOS 14.5 有啥新功能?Apple Watch 也能解锁 iPhone 了苹果今天发布了即将发布的 iOS 14.5 和 iPadOS 14.5 更新的第一个 Beta 版本,我们在其中发现了一些值得注意的变化。Apple Watch iPhone 解锁除了增加戴着口罩解锁 iPhone 的功 ...
分类:移动平台   时间:2021-02-28 15:13:43    收藏:0  评论:0  赞:0  阅读:29
【安卓】使用Handler出现的警告
使用Handler出现的警告 零、原由 安卓中使用Hander时出现了如下警告: This Handler class should be static or leaks might occur (anonymous android.os.Handler) 网上建议使用如下方案: private H ...
分类:移动平台   时间:2021-02-28 15:10:51    收藏:0  评论:0  赞:0  阅读:43
/dev/mapper/centos-root 清理
一、告警现象 告警主机: 172.18.206.8 告警时间: 2021.02.27 18:45:05 告警等级: Average 告警信息: Free disk space is less than 20% on volume / 告警项目: vfs.fs.size[/,pfree] 问题详情: ...
分类:移动平台   时间:2021-02-28 00:34:17    收藏:0  评论:0  赞:0  阅读:126
[MyBatis]Mapper中 $ 与 # 的区别
#是将传入的值当做字符串的形式,eg:select id,name,age from student where id =#{id},当前端把id值1,传入到后台的时候,就相当于 select id,name,age from student where id ='1'. $是将传入的数据直接显示生 ...
分类:移动平台   时间:2021-02-28 00:18:49    收藏:0  评论:0  赞:0  阅读:24
安卓2
一、安卓开发环境搭建1、下载javaJDK1.82、配置环境变量3、下载Androidstudio(intellijIDE)安装目录放到空间大的盘下(1)启动设置sdk目录(2)第一次启动时间较长,需联网,等待编译完成4、进入Androidstudio5、打包和编译工具Gridle:编译和打包javaWeb:maven功能类似Eclipse:项目Androidstudio:项目:workspse
分类:移动平台   时间:2021-02-28 00:13:44    收藏:0  评论:0  赞:0  阅读:22
[MyBatis]Mapper在order by中使用$的情况
发布于个人的CSDN :Mapper在order by中使用$的情况 问题描述 MyBatis项目种,在测试接口是发现,返回的json数据不能按照传入的参数"sortBy": "id"进行order by id排序,当时返回的json数据如下图: 解决 发现该问题时,我最先是将sortBy": "i ...
分类:移动平台   时间:2021-02-28 00:06:54    收藏:0  评论:0  赞:0  阅读:57
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!