摘要: type 取值 ‘success’(成功) /warning(警告)/info(消息)/error(错误)/; if (this.resetForm.cancelThings == null) { this.$message({ message: "请输填写驳回原因", type: "warning 阅读全文
posted @ 2022-06-05 21:18 快了星球 阅读(1398) 评论(0) 推荐(0)
摘要: table表格展示数据 根据每条信息状态不同换按钮 <template slot-scope="scope"> <el-button v-if="scope.row.isDeleted 0" @click="lowerShelf(scope.row.id)" size="mini" type="pr 阅读全文
posted @ 2022-06-05 08:15 快了星球 阅读(1545) 评论(0) 推荐(0)
摘要: 数据库字段定义 tinyint为数据库中的boolean类型 1为true 0为false mybatis中mapper 修改语句 系统框架使用SSM当更新的数据类型为boolean时使用if标签判断不能判断时段是否为空( showIf!='' ),只判断字段是否等于null <if test="s 阅读全文
posted @ 2022-06-04 14:35 快了星球 阅读(414) 评论(0) 推荐(1)
摘要: 在Vue中,Image组件的source如果使用require方式引入图片资源,则必须使用静态的字符串,不能使用变量,因为require是编译时执行的,而非运行时执行! 于是Vue为Image组件的source提供了另外一种使用变量的方式source={{ uri: item.picture }}, 阅读全文
posted @ 2022-06-04 00:15 快了星球 阅读(7372) 评论(0) 推荐(1)
摘要: lastIndexOf() 例如: string str = "abcdefg"; str = str.Substring(0, str.LastIndexOf("c")); Response.Write(str); //结果为 ab //就是截取c前面的字符串。 Substring() 例如: s 阅读全文
posted @ 2022-06-04 00:08 快了星球 阅读(215) 评论(0) 推荐(0)
摘要: java后端 配置文件 #上传文件到vue路径中 file: uploadFolder: C:\Users\iMac\Desktop\front\src\image\ 配置类uuid更改文件名字 package com.example.back.utils; import java.util.UUI 阅读全文
posted @ 2022-06-04 00:01 快了星球 阅读(607) 评论(0) 推荐(0)
摘要: 1、router路由编程式传参,一般两种方式。一种是query传参,另外一种则是params传参。由于params传参刷新页面,会导致数据丢失。所以采用query传参方式比较多,但当使用query传递对象,数组时,刷新页面会报[object Object],数据无法使用。 2、所遇问题: 首先打印下 阅读全文
posted @ 2022-06-03 20:00 快了星球 阅读(1234) 评论(0) 推荐(0)
摘要: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.1</version> </dependency> #配置日志 打印sql语句 m 阅读全文
posted @ 2022-06-02 23:37 快了星球 阅读(112) 评论(0) 推荐(0)
摘要: 调用控制台netstat -ano|findstr "占用端口号"根据LISTENING直接关闭进程即可 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romani 阅读全文
posted @ 2022-06-02 22:01 快了星球 阅读(32) 评论(0) 推荐(0)
摘要: router-link:to+动态指向-CSDN博客 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hung 阅读全文
posted @ 2022-06-02 20:58 快了星球 阅读(77) 评论(0) 推荐(0)