随笔分类 -  VUE

摘要:https://juejin.cn/post/7127440050937151525 阅读全文
posted @ 2024-01-15 09:19 乌卡拉卡 阅读(73) 评论(0) 推荐(0)
摘要:https://juejin.cn/post/7030362678199582734?searchId=20231016112439E79722A214C7C6DF1345 阅读全文
posted @ 2023-10-16 11:36 乌卡拉卡 阅读(50) 评论(0) 推荐(0)
摘要:点击查看代码 ``` /** * @description 查找包含自身节点的父代节点 * @param list 列表数据 * @param id 节点 id * @param pid 节点的父id */ export function listToTree(list, id, pid) { li 阅读全文
posted @ 2023-05-25 14:09 乌卡拉卡 阅读(434) 评论(0) 推荐(0)
摘要:点击查看代码 /** * base64转字符串 * @param {String} str * @returns */ export function strEncode64(str) { // 对字符串进行编码 var encode = encodeURI(str); // 对编码的字符串转化ba 阅读全文
posted @ 2023-05-12 16:27 乌卡拉卡 阅读(163) 评论(0) 推荐(0)
摘要:https://devpress.csdn.net/viewdesign/6455f3ecae650e245cfebee1.html?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefa 阅读全文
posted @ 2023-05-12 16:26 乌卡拉卡 阅读(794) 评论(0) 推荐(0)
摘要:点击查看代码 let formData = new FormData(); formData.append('file', new Blob([xml], { type: 'text/xml' }), '文件名.bpmn'); const params = { file: formData, hea 阅读全文
posted @ 2023-04-25 17:20 乌卡拉卡 阅读(374) 评论(0) 推荐(0)
摘要:点击查看代码 方法一: <el-tree :data="sourceData" node-key="id" default-expand-all :expand-on-click-node="false" :props="defaultProps" @node-click="handleNodeCl 阅读全文
posted @ 2022-07-25 17:41 乌卡拉卡 阅读(2718) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/mandy-dyf/p/11528505.html 阅读全文
posted @ 2022-05-09 14:32 乌卡拉卡 阅读(13) 评论(0) 推荐(0)
摘要:应用场景 在vue中父子组件是通过props传递数据的。通常有以下几种场景: 子组件展示父组件传递过来的props,一般是字符串 子组件接受父组件传递过来的props,作为本地数据使用 子组件接受父组件的传递过来的props,进行转换后展示(计算得到某个值) 子组件修改父组件传递过来的props 子 阅读全文
posted @ 2022-04-29 08:46 乌卡拉卡 阅读(8948) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/fa6aaedd62c0 将该封装为组件 LzMarquee.vue {{ item.detail }} 然后在需要的地方引入使用即可 阅读全文
posted @ 2021-12-20 15:27 乌卡拉卡 阅读(103) 评论(0) 推荐(0)
摘要:![](https://img2020.cnblogs.com/blog/1749817/202112/1749817-20211213154753531-2080514508.jpg) 阅读全文
posted @ 2021-12-13 15:48 乌卡拉卡 阅读(336) 评论(0) 推荐(0)
摘要:{ // vscode默认启用了根据文件类型自动设置tabsize的选项 "editor.detectIndentation": false, // 重新设定tabsize "editor.tabSize": 4, // #值设置为true时,每次保存的时候自动格式化;值设置为false时,代码格式 阅读全文
posted @ 2021-12-13 09:47 乌卡拉卡 阅读(186) 评论(0) 推荐(0)
摘要:backgroundColor: { image: require('@/assets/bigscreen2/cardbg1.png') } 阅读全文
posted @ 2021-11-30 17:46 乌卡拉卡 阅读(335) 评论(0) 推荐(0)
摘要:https://gitee.com/flypig666/projects 阅读全文
posted @ 2021-08-13 13:33 乌卡拉卡 阅读(24) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/liuxufeijidian/article/details/82080834?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.chann 阅读全文
posted @ 2020-07-31 10:59 乌卡拉卡 阅读(218) 评论(0) 推荐(0)