摘要: 在需要缓存的页面添加meta: { keepAlive: true },但是仍然有问题,在缓存和不缓存的页面跳转,缓存会不生效。 所以在每个路由添加meta: { keepAlive: true } 阅读全文
posted @ 2020-12-03 18:13 细雨南山 阅读(178) 评论(0) 推荐(0)
摘要: 定义校验方法 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)
摘要: <el-table-column prop="userList" label="负责人"> <template slot-scope="scope"> <span v-for="(u,i) in scope.row.userList">{{u.userName}}&nbsp&nbsp</span> 阅读全文
posted @ 2020-08-05 09:22 细雨南山 阅读(4334) 评论(0) 推荐(1)
摘要: <!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)