![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
政璇
这个作者很懒,什么都没留下…
展开
-
spring-boot 使用 mybatis 逆向工程
pom注意:版本号,我试了很多版本号,逆工程文件确实能正常工作,但是生成的文件有问题。<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4原创 2021-10-19 16:36:53 · 221 阅读 · 0 评论 -
chrome的network
主要是浏览器测试的时候network没有展示数据一番查阅后原创 2021-09-05 09:38:43 · 94 阅读 · 0 评论 -
uniapp 解决 h5可以 小程序不行
uniapp写了一个自定义的组件使用uni.createSelectorQuery().in(this). 函数获取dom转小程序没报错h5报错 “TypeError: Cannot read property ‘left’ of undefined”我自己的问题主要出在props的设置里 value 和 default 的问题下面记录这里是methods===》running(num){ const that = this uni.createSelectorQuery()..原创 2021-05-21 10:58:46 · 1542 阅读 · 0 评论 -
网页传参给商务通
导入js代码<!-- 商务通 --><script language="javascript"> var LrinviteTimeout = 180; var LR_next_invite_seconds = 180; var lr_openchat_second = 180;</script><script language="javascript" src="http://pct.zoosnet.net/JS/LsJS.asp.原创 2021-04-24 16:41:28 · 251 阅读 · 0 评论 -
vue-cli 时间戳格式化
用filter直接过滤来格式化时间戳用npm下载monentnpm install --save momentmain.js中import moment from “moment”Vue.filter('moment', function (value, formatString) { formatString = formatString || 'YYYY-MM-DD HH:mm:ss'; return moment(value).format(formatString);});原创 2020-10-19 17:43:28 · 249 阅读 · 0 评论 -
tailwind在vuecli使用
1.安装npm install tailwindcss2.在 assets 文件夹中创建 tailwind.css添加内容@tailwind base; @tailwind components; @tailwind utilities;3.在 mian.js 中引入 tailwind.cssimport "@/assets/tailwind.css"4.创建配置文件npx tailwind init --full5.创建 postcss.config.js 文件co原创 2020-10-10 10:50:07 · 1219 阅读 · 1 评论 -
js正则 str.match()
str.match(/\open.*?\over/g)str.match(/\open.*?\over/g)"235openyuwgeuwover21"会匹配到'openyuwgeuwover'原创 2020-10-01 14:35:32 · 3973 阅读 · 0 评论 -
我的TypeScript
1.TypeScripttypescript 是 javascript 的超集 。TypeScript = Type + JavaScript。目标:开发大型项目(js在大型项目上有心无力)。2.安装1.打开 VSCode 终端。2.输入 npm i -g typescript 回车i ( install ) :表示安装-g( -global ):全局标识3.(可选)安装 ts-node 包 : npm i -g ts-node目的:简化频繁重读执行TS代码使用: ts-node原创 2020-10-01 10:33:08 · 487 阅读 · 0 评论 -
经常看到sass就想学一学
还没使用过先看一下文档,做一下笔记原创 2020-09-19 15:00:35 · 114 阅读 · 0 评论 -
tailwind
安装 tailwind1.文字溢出直接加入 truncate 类<p class="truncate">{{item.text}}</p>原创 2020-09-17 14:57:35 · 431 阅读 · 0 评论 -
vue-cli 我连这个的各种写法格式都不记得了
vue-cli 的 [各种基础] 格式前言一、script 里的内容前言提示:这只是作者拿来做笔记的而已,遇到撒想到要记就记一、script 里的内容export default { data () { return { now: new Date() } }, methods: { getTime () { return this.now } }, mounted: function () { console.原创 2020-09-15 11:36:21 · 248 阅读 · 0 评论