自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 PC移动端屏幕尺寸

PC移动端屏幕尺寸

2023-03-15 11:03:17 640

原创 uniapp 解决包体积过大

uniapp解决包体积过大

2023-02-27 10:04:49 2647

原创 微信小程序反编译

小程序反编译

2023-02-14 12:06:39 608

原创 js 判断是移动端设备打开还是PC端打开

js 判断是移动端设备打开还是PC端打开

2023-02-09 14:41:33 792

原创 uniapp打包ipa通过页面下载

uniapp打包ios ipa,实现页面下载

2023-02-09 14:29:39 440 1

原创 The computed property “userInfo“ is already defined in data

The computed property "userInfo" is already defined in data

2022-07-04 10:16:10 1552

原创 VUEX页面刷新数据丢失解决办法之一

刷新页面vuex的数据会丢失属于正常现象,因为JS的数据都是保存在浏览器的堆栈内存里面的,刷新浏览器页面,以前堆栈申请的内存被释放,这就是浏览器的运行机制,那么堆栈里的数据自然就清空了。将接口返回的数据保存在vuex的store里,也将这些信息也保存在sessionStorage里。...

2022-06-17 09:41:27 327

原创 uniapp中引入VUEX

1.项目根目录新建store文件夹===》index.js2.main.js引入3.main.js挂载4.VUEX的index.js编写代码import Vue from 'vue'import Vuex from 'vuex'Vue.use(Vuex)const store = new Vuex.Store({ state: { }, getters: { }, mutations: { }, actions...

2022-05-16 11:47:28 1254

原创 常用正则表达式

作者:华为云开发者社区链接:https://www.zhihu.com/question/64606609/answer/1760237940来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。1.邮箱export const isEmail = (s) => { return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s)}2.手机号码.

2021-11-15 12:11:45 382

原创 ECharts 的柱状图显示

echarts 柱状图很低,解决办法加入:grid: { top: '8%', left: '2%', right: '2%', bottom: '0%', containLabel: true },另外...

2021-11-10 14:26:47 867

原创 温度符号的输入

℃℃°°C

2021-11-03 15:44:39 448

原创 uniapp获取天气

uni.request({ url: 'http://wthrcdn.etouch.cn/weather_mini?city=' + city, data: {}, success: (res) => { console.log(res.data) //当前温度 ...

2021-11-03 15:42:42 1251

原创 uniapp引入echarts

1.在项目根目录下cmd执行npm install echarts --sav2.在main.js中引用// 引入echartsimport * as echarts from 'echarts'Vue.prototype.$echarts = echarts3.页面<view id="myChart" :style="{width: echertWidth, height: sHeight}"></view>mounted() { ...

2021-10-28 11:13:34 1457

原创 项目错误处理一

DataTables warning: table id=dataTable - Requested unknown parameter 'deptType' for row 3. For more information about this error, please see(DataTables警告:表id=dataTable——请求第3行的未知参数“deptType”。有关此错误的更...

2019-07-31 12:24:13 78

原创 laydate.js插件第二次点击日期无法弹出

使用laydate.js插件后,部分人正常显示,但是其他一部分人点右边的日期弹出选择后,只改变左边的,右边还是无法选择日期,或者点击右边,左边还是无法选择日期,在jsp页面源代码是这样的:<div class="form-group"><input type="text" class="form-control" placeholder="开始时间" name="b...

2019-07-31 12:22:56 341

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除