会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Lake-李笑吅
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2022年2月16日
无限极分类
摘要: 小程序版,通过组件的形式,如果里面nodes有值得话在循环组件 组件部分 <view> <view> {{lists.name}} <block a:if="{{lists.roles.length>0}}"> <view a:for="{{lists.roles}}" a:for-item="rt
阅读全文
posted @ 2022-02-16 08:42 李笑吅
阅读(52)
评论(0)
推荐(0)
2021年12月11日
防止连续点击
摘要: if(this.isClick) { this.isClick = false; //定时器 setTimeout(function() { this.isClick = true; }, 1000);//一秒内不能重复点击} isClick: null, handleSearch(e) { //文
阅读全文
posted @ 2021-12-11 11:25 李笑吅
阅读(92)
评论(0)
推荐(0)
2021年10月29日
element 搜索选择
摘要: html <el-select v-model="dform.e_id" filterable remote reserve-keyword placeholder="请输入关键词" :remote-method="remoteMethod" :loading="loading"> <el-opti
阅读全文
posted @ 2021-10-29 15:20 李笑吅
阅读(108)
评论(0)
推荐(0)
2021年10月28日
关于element文件上传
摘要: html部分: <el-form-item label="图片" prop="icon"> <el-upload v-model="rotationfrom.img" action="" multiple show-file-list :http-request="httpRequest" list
阅读全文
posted @ 2021-10-28 16:51 李笑吅
阅读(151)
评论(0)
推荐(0)
2021年10月8日
echarts在vue中的使用
摘要: 1.安装 npm install echarts --save 2.引入 ECharts import * as echarts from 'echarts'; 3.在页面中设置ECharts <template> <!--应收款分析--> <div className="com-threemois
阅读全文
posted @ 2021-10-08 10:38 李笑吅
阅读(761)
评论(0)
推荐(0)
大屏适配
摘要: 1.创建文件 export const echartsSize = function (size, defalteWidth = 1920) { const docEl = document.documentElement const clientWidth = window.innerWidth
阅读全文
posted @ 2021-10-08 09:54 李笑吅
阅读(110)
评论(0)
推荐(0)
2021年8月12日
各种数据转换
摘要: 1、字符串转换为数组 var string = '123,456,789'; var stringResult = string.split(','); console.log(stringResult) //输出["123", "456", "789"] var string2 = 'abcdef
阅读全文
posted @ 2021-08-12 17:09 李笑吅
阅读(162)
评论(0)
推荐(0)
2021年8月10日
分类部分
摘要: 1.获取后台数据存本地 1)获取时间戳进行比对,如果差的话就重新取值 在存入时要注意格式 // 存 localStorage.setItem('jdclassdata', JSON.stringify(arr)) // 取 var arr = JSON.parse(localStorage.getI
阅读全文
posted @ 2021-08-10 14:41 李笑吅
阅读(31)
评论(0)
推荐(0)
2021年8月4日
初始化vueadmin
摘要: 1.克隆:https://github.com/PanJiaChen/vue-admin-template.git 2.修改中文:main.js 3.在不使用模拟数据时: 设置反向代理: 1.在env.development,设置/api 2. vue.config.js 设置测试环境反向代理 其中
阅读全文
posted @ 2021-08-04 11:29 李笑吅
阅读(215)
评论(0)
推荐(0)
2021年8月2日
解决tsc报错问题
摘要: 以管理员身份运行 PowerShell或命令提示符,并执行命令set-ExecutionPolicy RemoteSigned将PowerShell的执行策略更改为RemoteSigned 1.win+X 2.输入set-ExecutionPolicy RemoteSigned 然后选Y 好了
阅读全文
posted @ 2021-08-02 11:14 李笑吅
阅读(684)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告