会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白字太白
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
16
下一页
2022年12月16日
git使用Git 常用命令
摘要: Git 常用命令 仓库 # 在当前目录新建一个Git代码库 $ git init # 新建一个目录,将其初始化为Git代码库 $ git init [project-name] # 下载一个项目和它的整个代码历史 $ git clone [url] 配置 # 显示当前的Git配置 $ git con
阅读全文
posted @ 2022-12-16 21:37 小白字太白
阅读(30)
评论(0)
推荐(0)
2022年12月15日
vue中关于prop传值传过来的很可能是字符串
摘要: 如果是数字参与计算的话最好转一下数字再进行运算 比如 <Pagination :pageNo="searchParams.pageNo" :pageSize="searchParams.pageSize" :total="total" continues="5" @getPageNo="getPag
阅读全文
posted @ 2022-12-15 13:35 小白字太白
阅读(257)
评论(0)
推荐(0)
2022年12月2日
vue中swiper轮播插件的一个错误
摘要: 在引入插件的时候无论如何也不生效,后来发现 2.添加HTML内容。Swiper7的默认容器是'.swiper',Swiper6之前是'.swiper-container'。 <div class="swiper"> <div class="swiper-wrapper"> <div class="s
阅读全文
posted @ 2022-12-02 15:38 小白字太白
阅读(50)
评论(0)
推荐(0)
2022年11月29日
引入进度条插件nprogress
摘要: 安装 npm install --save nprogress 引入 // 引入进度条 import nprogress from "nprogress"; // 引入进度条样式 import "nprogress/nprogress.css"; 使用 const requests=axios.cr
阅读全文
posted @ 2022-11-29 11:54 小白字太白
阅读(135)
评论(0)
推荐(0)
解决跨域问题:配置代理
摘要: const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, lintOnSave:false, //代理跨域 devServer:{
阅读全文
posted @ 2022-11-29 11:40 小白字太白
阅读(50)
评论(0)
推荐(1)
配置请求axios
摘要: //对axios进行二次封装 import axios from "axios"; // 利用axios对象的方法create,去创建一个axios实例对象 const requests=axios.create({ // 基础配置 // 基础路径,发请求时候,自动出现api baseURL:"/a
阅读全文
posted @ 2022-11-29 11:35 小白字太白
阅读(92)
评论(0)
推荐(0)
axios封装
摘要: //对axios进行二次封装 import axios from "axios"; // 利用axios对象的方法create,去创建一个axios实例对象 const requests=axios.create({ // 基础配置 // 基础路径,发请求时候,自动出现api baseURL:"/a
阅读全文
posted @ 2022-11-29 10:37 小白字太白
阅读(53)
评论(0)
推荐(0)
2022年11月28日
vue路由//制定params可传可不传
摘要: { path:"/Search/:keyword?",//制定params可传可不传 component:Search, meta:{show:true}, name:"search" }, 传空串 params:{keyword:''||undefined},//传空串的写法
阅读全文
posted @ 2022-11-28 10:59 小白字太白
阅读(77)
评论(0)
推荐(0)
2022年11月26日
vue路由传参的三种写法
摘要: methods:{ goSearch(){ // 1.路由传参字符串形式 // this.$router.push("/Search/"+this.keyword+"?k="+this.keyword.toUpperCase()) // 2 模板字符串 // this.$router.push(`/
阅读全文
posted @ 2022-11-26 16:20 小白字太白
阅读(32)
评论(0)
推荐(0)
Refused to apply style from 'http://localhost:8080/iconfont.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
摘要: 只需要删除即可; 具体位置在public-reset.css
阅读全文
posted @ 2022-11-26 11:51 小白字太白
阅读(596)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
16
下一页
公告