会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
细雨南山
博客园
首页
新随笔
联系
订阅
管理
2020年12月3日
vue的keepAlive--坑
摘要: 在需要缓存的页面添加meta: { keepAlive: true },但是仍然有问题,在缓存和不缓存的页面跳转,缓存会不生效。 所以在每个路由添加meta: { keepAlive: true }
阅读全文
posted @ 2020-12-03 18:13 细雨南山
阅读(178)
评论(0)
推荐(0)
2020年8月12日
vue-element-form 手机号校验
摘要: 定义校验方法 var validatorPhone = function (rule, value, callback) { if (value '') { callback(new Error('手机号不能为空')) } else if (!/^1\d{10}$/.test(value)) { c
阅读全文
posted @ 2020-08-12 16:00 细雨南山
阅读(11595)
评论(0)
推荐(0)
2020年8月5日
element组件库中表格组件中遍历显示数组中内容
摘要: <el-table-column prop="userList" label="负责人"> <template slot-scope="scope"> <span v-for="(u,i) in scope.row.userList">{{u.userName}}  </span>
阅读全文
posted @ 2020-08-05 09:22 细雨南山
阅读(4334)
评论(0)
推荐(1)
2020年7月27日
聊天框
摘要: <!DOCTYPE html><html> <head> <meta charset=utf-8 /> <title>css聊天框</title> <style> * { margin: 0; padding: 0; } .chat { position: relative; max-width:
阅读全文
posted @ 2020-07-27 18:04 细雨南山
阅读(179)
评论(0)
推荐(0)
公告