摘要:
数据库字段定义 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
快了星球
阅读(7373)
评论(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)
浙公网安备 33010602011771号