随笔分类 -  vue.js

前端框架
摘要:一,报错信息: this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache()); ^ Error: error:0308010C:digital envelope routines::unsupported at n 阅读全文
posted @ 2026-01-15 21:53 刘宏缔的架构森林 阅读(12) 评论(0) 推荐(0)
摘要:一,报错信息: $ npm run dev > saas_dingo@1.0.0 dev > vue-cli-service serve --mode development --open INFO Starting development server... 10% building 2/2 mo 阅读全文
posted @ 2026-01-15 21:33 刘宏缔的架构森林 阅读(11) 评论(0) 推荐(0)
摘要:切换到项目目录下,执行npm install即可 $ cd /data/vue/my-vue-app/ $ npm install 阅读全文
posted @ 2025-10-25 14:43 刘宏缔的架构森林 阅读(21) 评论(0) 推荐(0)
摘要:一,报错信息: vue ResizeObserver loop completed with undelivered notifications. 如图:我没有专门截图,转一张别人发的 二,原因 ResizeObserver 警告解释这条警告源于 ResizeObserver 的实现机制。它表示监听 阅读全文
posted @ 2025-10-05 11:23 刘宏缔的架构森林 阅读(389) 评论(0) 推荐(0)
摘要:一,安装pinia liuhongdi@lhdpc:/data/vue/responsive$ npm -S install pinia 安装完成后查看已安装的版本: liuhongdi@lhdpc:/data/vue/responsive$ npm list pinia responsive@0. 阅读全文
posted @ 2023-10-04 22:42 刘宏缔的架构森林 阅读(545) 评论(0) 推荐(0)
摘要:一,官方文档地址: https://router.vuejs.org/zh/guide/essentials/dynamic-matching.html 二, 代码: 1,router配置 { path: '/:pathMatch(.*)*', name: 'NotFound',meta:{titl 阅读全文
posted @ 2023-10-04 22:38 刘宏缔的架构森林 阅读(610) 评论(0) 推荐(0)
摘要:一,vue: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 阅读全文
posted @ 2023-09-30 16:10 刘宏缔的架构森林 阅读(259) 评论(0) 推荐(0)
摘要:一,代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 阅读全文
posted @ 2023-09-09 11:55 刘宏缔的架构森林 阅读(286) 评论(0) 推荐(0)
摘要:一,代码: 官方文档地址: https://element-plus.gitee.io/zh-CN/component/breadcrumb.html 代码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 阅读全文
posted @ 2023-07-31 20:54 刘宏缔的架构森林 阅读(409) 评论(0) 推荐(0)
摘要:一,官方文档地址: https://element-plus.gitee.io/zh-CN/component/checkbox.html#%E4%B8%AD%E9%97%B4%E7%8A%B6%E6%80%81 二,代码: 1,html代码 1 2 3 4 5 6 7 8 9 10 11 12 1 阅读全文
posted @ 2023-07-27 14:35 刘宏缔的架构森林 阅读(1027) 评论(0) 推荐(0)
摘要:一,代码: 说明:在main.js中增加代码,在路由跳转后滑动到顶部,如下 //页面加载后滑至顶部 1 2 3 router.afterEach(() => { window.scrollTo(0,0); }); main.js的例子如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 阅读全文
posted @ 2023-07-27 14:30 刘宏缔的架构森林 阅读(460) 评论(0) 推荐(0)
摘要:一,前端代码: 说明:前端使用vue.js3+axios,主要通过canvas.toBlob这个api实现canvas转文件上传 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3 阅读全文
posted @ 2023-07-08 13:13 刘宏缔的架构森林 阅读(826) 评论(0) 推荐(0)
摘要:一,js代码: <template> <div> <div style="width:800px;margin: auto;display: flex;flex-direction: column;"> <div>请选择上传图片: <input type="file" id="back" ref=" 阅读全文
posted @ 2022-11-10 18:24 刘宏缔的架构森林 阅读(1758) 评论(0) 推荐(0)
摘要:一,js代码: <template> <div> <div style="width:800px;margin: auto;display: flex;flex-direction: column;"> <div>请选择上传图片: <input type="file" id="back" ref=" 阅读全文
posted @ 2022-11-08 15:51 刘宏缔的架构森林 阅读(926) 评论(0) 推荐(0)
摘要:一,安装axios库 1,相关地址 官网: https://axios-http.com/ 代码地址: https://github.com/axios/axios 2,安装 liuhongdi@lhdpc:/data/vue/axios$ npm install --save axios adde 阅读全文
posted @ 2022-10-08 15:12 刘宏缔的架构森林 阅读(490) 评论(0) 推荐(0)
摘要:一,js代码: <template> <div> <img id="img" src="/static/image/dog.jpg" style="width:300px;" /><br/> <button @click="downImgByUrl">down by url</button> <bu 阅读全文
posted @ 2022-09-20 17:40 刘宏缔的架构森林 阅读(4019) 评论(0) 推荐(0)
摘要:一,js代码 <template> <div style="position:relative;"> <div style="width: 700px;margin: auto;"> <h1>亮度/对比度/饱和度</h1> <div><input type="file" accept="image/ 阅读全文
posted @ 2022-09-16 16:13 刘宏缔的架构森林 阅读(786) 评论(0) 推荐(0)
摘要:一,js代码: <template> <div style="position:relative;"> <div style="width: 700px;margin: auto;"> <h1>反色/灰度/褐色</h1> <div><input type="file" accept="image/* 阅读全文
posted @ 2022-09-09 18:46 刘宏缔的架构森林 阅读(231) 评论(0) 推荐(0)
摘要:vue.js3:色调色相调整并保存(vue@3.2.37)一,js代码: <template> <div style="position:relative;"> <div style="width: 700px;margin: auto;"> <h1>色调/色相 调整</h1> <div><input type="file" accept="image/* 阅读全文
posted @ 2022-09-09 16:08 刘宏缔的架构森林 阅读(292) 评论(0) 推荐(0)
摘要:一,js代码: <template> <div style="background: #ffffff;" id="root" > <div style="width: 700px;margin: auto;"> <div><input type="file" accept="image/*" @ch 阅读全文
posted @ 2022-09-09 11:10 刘宏缔的架构森林 阅读(1383) 评论(0) 推荐(0)