会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
欢迎加QQ交流:
加
油
!
2
0
2
3
源远流常,一居一安
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
17
下一页
2022年12月8日
vue3 el-pagination 将 英文 修改 为 中文
摘要: 当前视图: 我要做的是将 Total 类似的 英文 改为 中文 1. 在组件里引入 ElConfigProvider 组件 和中文包 // ElConfigProvider 组件 import { ElConfigProvider } from 'element-plus' // 引入中文包 imp
阅读全文
posted @ 2022-12-08 15:24 常安·
阅读(1240)
评论(0)
推荐(0)
2022年12月7日
css 过滤 灰色
摘要: <style> html { filter: grayscale(1); } </style> 原色: 使用 filter: grayscale(1); 后:
阅读全文
posted @ 2022-12-07 17:05 常安·
阅读(38)
评论(0)
推荐(0)
2022年12月6日
vue3 vite 使用 echarts 之 折线图堆叠
摘要: 1. npm 安装 npm install echarts --save 2. 使用 <template> <div> <div id="myChart123" :style="{width: '1500px', height: '550px'}"></div> </div> </template>
阅读全文
posted @ 2022-12-06 18:35 常安·
阅读(924)
评论(0)
推荐(0)
TypeError: Cannot read properties of undefined (reading '_c') 之 vue3 数字滚动 vue-count-to
摘要: 1.在 node_modules 里找到 vue-count-to 2. 将 vue-count-to src 文件夹 里的 3 个文件 放到 自己 src components 里 调用 ( 我这里用 count-to 文件包裹起来的) 3. 删除package.json内的 "vue-count
阅读全文
posted @ 2022-12-06 11:42 常安·
阅读(664)
评论(1)
推荐(0)
warn]: Component inside <Transition> renders non-element root node that cannot be animated.
摘要: 因为比较简单先说解决方法: 用一个 div 把 过渡到的 代码(组件代码) 包起来即可 详情: 用到 transition: (提升用户体验组件动画) 警告信息: 过渡的 组件 代码: 解决:(用div 把所有 代码包起来) 期望结果: 由于vue3 支持碎片写法没错,但是 transition 内
阅读全文
posted @ 2022-12-06 10:10 常安·
阅读(551)
评论(0)
推荐(0)
2022年12月5日
vue3 回车键登录
摘要: document.onkeydown = e => { // login() 登录事件 if(e.key == 'Enter') login() }
阅读全文
posted @ 2022-12-05 16:21 常安·
阅读(235)
评论(0)
推荐(0)
2022年12月2日
vue3 + vite 监听路由
摘要: 1. watch监听 import { watch} from 'vue' import {useRouter} from 'vue-router' let router = useRouter() watch(() =>router.currentRoute._value,(m,n)=> { co
阅读全文
posted @ 2022-12-02 18:27 常安·
阅读(273)
评论(0)
推荐(0)
vue3 + element plus 使用字节跳动图标
摘要: 使用场景: 提一下vue2 用法>> 下面回到正题 vue3 用法 1 安装包: npm install @icon-park/vue-next --save 2 字节跳动图标库取图地址>> 3 用法: <template> <div class="mm"> <!-- 使用 --> <home-tw
阅读全文
posted @ 2022-12-02 15:51 常安·
阅读(379)
评论(0)
推荐(0)
2022年12月1日
css :root 用法 修改 element plus css
摘要: 场景: 用到技术: vue vite element plus 我这里是 修改 element plus css 需要用到 这里先说 root 变量用法及声明。 1. 静态文件 创建一个 public.css 文件 :root { --hoverc: #fe4800; --hoverbgc: #fe
阅读全文
posted @ 2022-12-01 17:23 常安·
阅读(2973)
评论(0)
推荐(1)
2022年11月30日
vue3 vuex使用
摘要: 安装 vuex npm i vuex@next -S // 安装最新vuex store/index.js import { createStore } from 'vuex' export default createStore({ state: { login_index: 0, // 变量 }
阅读全文
posted @ 2022-11-30 09:42 常安·
阅读(99)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
17
下一页
公告