• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

mandyGuan12

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 2

2024年9月3日

vue3使用路由守卫出现的问题合集

摘要: 登录后停留在登录页面无法跳转 --24.9.3 原代码: function isRoute (to) { let res = router.getRoutes() let resFil = res.filter(item => item.path to.path) return resFil.len 阅读全文

posted @ 2024-09-03 16:53 番茄仔Mandy 阅读(72) 评论(0) 推荐(0)

vue3中使用pinia报错

摘要: 问题: Uncaught Error: [🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"? 阅读全文

posted @ 2024-09-03 13:53 番茄仔Mandy 阅读(1114) 评论(0) 推荐(0)

2024年8月30日

报错TypeError: Cannot read properties of undefined (reading 'filter')

摘要: 浏览器报错:TypeError: Cannot read properties of undefined (reading 'filter') 一开始写定了一个list数组一直没出错,后面换成pinia的数据就出问题了 原代码: const list = computed(() => { store 阅读全文

posted @ 2024-08-30 16:19 番茄仔Mandy 阅读(260) 评论(0) 推荐(0)

VUE样式穿刺

摘要: 在VUE中,像这种继承了的,有双下划线的,想要做样式的改变,就必须要做样式穿刺 使用:deep 阅读全文

posted @ 2024-08-30 14:12 番茄仔Mandy 阅读(18) 评论(0) 推荐(0)

2024年8月29日

点击“编辑”后取消,再点击“新增”模态框中出现“编辑”的内容

摘要: VUE3+element-ui项目中,点击点击“编辑”弹出模态框后取消,再点击“新增”模态框中出现“编辑”的内容。 原代码: const handleEdit = (row) =>{ dialogVisible.value = true action.value = 'edit' // 做一个浅拷贝 阅读全文

posted @ 2024-08-29 17:31 番茄仔Mandy 阅读(75) 评论(0) 推荐(0)

2024年8月28日

vue3+element-ui项目中使用echart无法渲染表格

摘要: 问题描述:vue3+element-ui项目中使用echart无法渲染表格,f12报错“TypeError: this.dom.getContext is not a function” 原代码: <div class="graph"> <el-card ref="userEchart" style 阅读全文

posted @ 2024-08-28 17:59 番茄仔Mandy 阅读(86) 评论(0) 推荐(0)

上一页 1 2
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3