会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
武卡卡的个人博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
39
下一页
2019年12月24日
Vue -> 解决 vue-ueditor-wrap 不能显示的问题
摘要:
阅读全文
posted @ 2019-12-24 12:27 武卡卡
阅读(4072)
评论(0)
推荐(1)
2019年12月20日
Vue - 路由守卫使用
摘要:
阅读全文
posted @ 2019-12-20 15:08 武卡卡
阅读(379)
评论(0)
推荐(1)
Vue - @import css 加载第三方css
摘要:
阅读全文
posted @ 2019-12-20 14:41 武卡卡
阅读(2130)
评论(0)
推荐(0)
2019年12月19日
VUE - 导航守卫
摘要: router.beforeEach((to, from, next) => { if(to.path!='/login' && localStorage.token==undefined){ next('/login') return } next() })
阅读全文
posted @ 2019-12-19 21:18 武卡卡
阅读(120)
评论(0)
推荐(0)
2019年12月18日
js正则 - 限制用户名只能中文、字母和数字 , 不能包含特殊字符
摘要: /^[\u4E00-\u9FA5A-Za-z0-9]+$/
阅读全文
posted @ 2019-12-18 13:41 武卡卡
阅读(7178)
评论(2)
推荐(5)
常用正则表达式
摘要: 一、校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(\.[0-9]{1,2})?$ 带1
阅读全文
posted @ 2019-12-18 08:52 武卡卡
阅读(213)
评论(0)
推荐(0)
2019年12月16日
JS - 随机数
摘要: var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789' console.log(chars.charAt(Math.floor(Math.random() * chars.length)))
阅读全文
posted @ 2019-12-16 21:23 武卡卡
阅读(112)
评论(0)
推荐(0)
VueCli3 项目结构和具体作用
摘要:
阅读全文
posted @ 2019-12-16 15:10 武卡卡
阅读(4064)
评论(0)
推荐(0)
Vue - 引入本地图片的两种方式
摘要: 第一种,只引入单个图片,这种引入方法在异步中引入则会报错。 比如需要遍历出很多图片展示时 <image :src = require('图片的路径') /> 第二种,可引入多个图片,也可引入单个图片。 vuelic3版本没有static文件夹。可将静态图片存放到public目录下,直接引入即可 <i
阅读全文
posted @ 2019-12-16 14:50 武卡卡
阅读(22835)
评论(1)
推荐(8)
2019年12月11日
JS - 数组转字符串
摘要: var arr =['h','e','l','l','o'] var s = arr.join(""); console.log(s);
阅读全文
posted @ 2019-12-11 10:41 武卡卡
阅读(589)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
39
下一页
公告