06 2022 档案

摘要:问题所在,tab页加载时机不对。可用v-if控制tab所在内容的加载时机,当切换到该tab页时再加载。 <el-tabs v-model="activeName" @tab-click="handleTabClick"> <el-tab-pane label="逾期应收" name="second" 阅读全文
posted @ 2022-06-27 08:56 阿灿呀 阅读(82) 评论(0) 推荐(0) 编辑
摘要:list1: { immediate: true, async handler() { await this.$nextTick() const tables = document.querySelectorAll('#list1 .el-table__footer-wrapper tr>td') 阅读全文
posted @ 2022-06-24 11:15 阿灿呀 阅读(220) 评论(0) 推荐(0) 编辑
摘要:const data = require('@/json/unusualType.json') 阅读全文
posted @ 2022-06-17 16:25 阿灿呀 阅读(159) 评论(0) 推荐(0) 编辑
摘要:select substring_index(group_concat(col_id order by col_importtime desc), ',', 1) as col_id from biwarehouse.tbl_gf_ext_manabcode_receiver group by co 阅读全文
posted @ 2022-06-15 09:59 阿灿呀 阅读(25) 评论(0) 推荐(0) 编辑
摘要:![](https://img2022.cnblogs.com/blog/2202883/202206/2202883-20220614091142219-519149082.png) 阅读全文
posted @ 2022-06-14 09:12 阿灿呀 阅读(159) 评论(0) 推荐(0) 编辑
摘要:// 创建时的四个事件 beforeCreate() { // 第一个被执行的钩子方法:实例被创建出来之前执行 console.log(this.message) //undefined this.show() //TypeError: this.show is not a function // 阅读全文
posted @ 2022-06-13 22:51 阿灿呀 阅读(19) 评论(0) 推荐(0) 编辑
摘要:// 定义局部组件 var app = new Vue({ el: '#app', // 定义局部组件,这里可以定义多个局部组件 components: { //组件的名字 'Navbar': { //组件的内容 template: '<ul><li>首页</li><li>学员管理</li></ul 阅读全文
posted @ 2022-06-13 22:48 阿灿呀 阅读(45) 评论(0) 推荐(0) 编辑
摘要:<!-- 1、简单的列表渲染 --> <ul> <li v-for="n in 10">{{ n }} </li> </ul> <ul> <!-- 如果想获取索引,则使用index关键字,注意,圆括号中的index必须放在后面 --> <li v-for="(n, index) in 5">{{ n 阅读全文
posted @ 2022-06-13 22:44 阿灿呀 阅读(637) 评论(0) 推荐(0) 编辑
摘要:<!-- 修饰符用于指出一个指令应该以特殊方式绑定。 这里的 .prevent 修饰符告诉 v-on 指令对于触发的事件调用js的 event.preventDefault(): 即阻止表单提交的默认行为 --> <form action="save" v-on:submit.prevent="on 阅读全文
posted @ 2022-06-13 22:39 阿灿呀 阅读(52) 评论(0) 推荐(0) 编辑
摘要:public class ExceptionUtil { public static String getMessage(Exception e) { StringWriter sw = null; PrintWriter pw = null; try { sw = new StringWriter 阅读全文
posted @ 2022-06-12 00:10 阿灿呀 阅读(16) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="10 seconds"> <!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL, 阅读全文
posted @ 2022-06-12 00:08 阿灿呀 阅读(48) 评论(0) 推荐(0) 编辑
摘要:mysql数据库连接 后添加编码&characterEncoding=UTF-8 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:330 阅读全文
posted @ 2022-06-11 21:47 阿灿呀 阅读(73) 评论(0) 推荐(0) 编辑
摘要:1.自增主键 缺点:分库分表时需计算 2.UUID 缺点:无法排序 3.redis 4.雪花算法 参考资料:分布式系统唯一ID生成方案汇总:https://www.cnblogs.com/haoxinyue/p/5208136.html 阅读全文
posted @ 2022-06-06 23:05 阿灿呀 阅读(92) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示