流浪のwolf

卷帝

导航

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 73 下一页

2023年3月12日

google 搜索技巧

摘要: size qq.com inurl : size 指定网站 inurl 这个网站的指定内容 filetype 指定搜索的文件类型 阅读全文

posted @ 2023-03-12 15:53 流浪のwolf 阅读(13) 评论(0) 推荐(0) 编辑

关于 apt 的一些命令

摘要: apt update 用于 更新 包索引,包列表 apt install -y open-vm-tools-desktop fuse 安装 vm-tools 工具 阅读全文

posted @ 2023-03-12 10:51 流浪のwolf 阅读(3) 评论(0) 推荐(0) 编辑

2023年3月11日

vue3自动导入 api ,不需要多次导入 api 了

摘要: 安装插件 npm i -D unplugin-auto-import 配置 vite.config.js export default defineConfig({ plugins: [ vue(), AutoImport({ imports: ["vue"], dts: "auto-imports 阅读全文

posted @ 2023-03-11 19:47 流浪のwolf 阅读(19) 评论(0) 推荐(0) 编辑

vue3中没有 this 环境变量了

摘要: 因为 api setup 在 beforecreate 之前执行,所以 this 是 undefined ; setup 不能是一个 async 函数 ,因为返回值不是 对象了 ,而是 promise ;如果要使用 async 就要配合 suspense 组件使用 ; 阅读全文

posted @ 2023-03-11 19:01 流浪のwolf 阅读(43) 评论(0) 推荐(0) 编辑

vue2 + webpack 分析报告 report == webpack-bundle-analyzer

摘要: packjson.js 配置 "build-report":"vue-cli-service build --report", 执行 : npm run build-report 阅读全文

posted @ 2023-03-11 18:36 流浪のwolf 阅读(17) 评论(0) 推荐(0) 编辑

vue3 + vite 分析报告 report == rollup-plugin-visualizer

摘要: 安装插件 npm i rollup-plugin-visualizer -D 配置vite.config.js 文件 【加入插件】 import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { vi 阅读全文

posted @ 2023-03-11 18:34 流浪のwolf 阅读(270) 评论(0) 推荐(0) 编辑

2023年3月9日

数据库的流程函数

摘要: # 流程函数 select if(true,"ok","error"); # ok select ifnull(null,"default"); # default select ifnull("","default"); # "" 阅读全文

posted @ 2023-03-09 07:51 流浪のwolf 阅读(3) 评论(0) 推荐(0) 编辑

数据库的时间函数

摘要: 1. curdate 返回当前日期 2. curtime 返回当前时间 3. now() 返回当前日期和时间 4. year (date) 获取指定date的年份 5. month(date) 获取指定date的日期 6. day(date) 获取指定date的日期 7. date_add(date 阅读全文

posted @ 2023-03-09 07:40 流浪のwolf 阅读(33) 评论(0) 推荐(0) 编辑

2023年3月8日

通过数据库的函数,生成一个六位数的随机验证码

摘要: # 生成一个六位数的随机数select lpad(round(rand() * 1000000,0),6,0); 阅读全文

posted @ 2023-03-08 22:11 流浪のwolf 阅读(48) 评论(0) 推荐(0) 编辑

数据库的数值函数

摘要: 1. ceil (x) 向上取整 2. floor (x) 向下取整 3. mod(x,y) 返回 x/y 的模 4. rand 返回 0- 1 随机数 5. round (x,y) 求参数x的四舍五入的值,保留 y 位小数 练习: # ceil 向上取整 select ceil(1.5); # 向 阅读全文

posted @ 2023-03-08 22:00 流浪のwolf 阅读(15) 评论(0) 推荐(0) 编辑

上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 73 下一页