会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
caiiac
博客园
首页
新随笔
联系
订阅
管理
[置顶]
#个人知识点笔记
摘要: https://www.swiper.com.cn/ 轮播图网站 路由嵌套问题: 1.子路由界面修改数据跳转界面(还是子路由界面),父路由界面里面的数据不更新,可以通过监听路由的方式来实现数据刷新。例如 watch:{ '$route': { handler() { this.getUserInfo
阅读全文
posted @ 2023-02-12 17:43 菜彩
阅读(21)
评论(0)
推荐(0)
2023年8月7日
el-table 子级选中父级勾选 子级无一选中父级取消勾选
摘要: // 选中子级父级也选中 if(row.parentId!=0){ let parent = this.archiveTypeList.find((x=>x.id row.parentId)); this.$refs.multipleTable.toggleRowSelection(parent,t
阅读全文
posted @ 2023-08-07 11:39 菜彩
阅读(435)
评论(0)
推荐(0)
2023年7月31日
vue 滚动条事件监听
摘要: css: .active{ margin-top:-60px; } .trans{ transition: all 300ms; } > ` mounted() { // 监听页面滚动事件 window.addEventListener("scroll", this.scrolling); }, b
阅读全文
posted @ 2023-07-31 15:15 菜彩
阅读(99)
评论(0)
推荐(0)
2023年4月6日
vue常见错误
摘要: 11
阅读全文
posted @ 2023-04-06 20:04 菜彩
阅读(7)
评论(0)
推荐(0)
vue 创建命令
摘要: 1.创建vue项目 vue create [project-name] 2.安装 vue-router npm install vue-router --save 3.安装axios npm install axios --save
阅读全文
posted @ 2023-04-06 20:04 菜彩
阅读(61)
评论(0)
推荐(0)
vue.config.js 配置
摘要: const { defineConfig } = require('@vue/cli-service') //按需引入 // const AutoImport = require(''); const AutoImport = require('unplugin-auto-import/webpac
阅读全文
posted @ 2023-04-06 16:38 菜彩
阅读(524)
评论(0)
推荐(0)
2023年1月9日
Vue——watch侦听属性 例子
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-01-09 20:35 菜彩
阅读(57)
评论(0)
推荐(0)
Vue——computed计算属性 例子
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-01-09 20:35 菜彩
阅读(35)
评论(0)
推荐(0)
2023年1月4日
VSCode小技巧
摘要: 技巧一. 配置快捷生成代码 按ctrl+shift+p 调出如下界面 new一个snippets file 按照example配置自己的代码
阅读全文
posted @ 2023-01-04 16:56 菜彩
阅读(20)
评论(0)
推荐(0)
2022年11月7日
Vue-Router
摘要: Vue-Router 1. 路由的安装与基本使用 安装 npm run vuee-router@4 -save 基本使用案例 demo10文件 <template> <div> <h3>demo1界面</h3> </div> </template> <script> export default {
阅读全文
posted @ 2022-11-07 16:53 菜彩
阅读(66)
评论(0)
推荐(0)
下一页
公告