会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Felix_Openmind
https://github.com/serendipitywzz
博客园
首页
新随笔
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
43
下一页
2024年3月29日
Promise.all并发请求
摘要: const promise1 = fetch('https://api.example.com/data1'); const promise2 = fetch('https://api.example.com/data2'); Promise.all([promise1, promise2])
阅读全文
posted @ 2024-03-29 14:33 Felix_Openmind
阅读(44)
评论(0)
推荐(0)
2024年3月27日
将a-drawer修改为notification组件
摘要: 效果图 源码 <template> <div> <a-drawer placement="right" :closable="true" width="560" :visible="visible" :after-visible-change="afterVisibleChange" @close=
阅读全文
posted @ 2024-03-27 17:55 Felix_Openmind
阅读(33)
评论(0)
推荐(0)
前端利用JSZipUtils将前端状态数据填入word模板中的
摘要: public文件夹下存入模板文件 "file-saver": "^2.0.5", "jszip-utils": "^0.1.0", "pizzip": "^3.1.4", "docxtemplater": "^3.42.7", <template> <div> </div> </template>
阅读全文
posted @ 2024-03-27 15:22 Felix_Openmind
阅读(791)
评论(0)
推荐(0)
2024年3月21日
Vue3、typeit、vue3-markdown-it仿文心一言前端代码对接大模型
摘要: 相关依赖 "typeit": "^8.8.3", "vue3-markdown-it": "^1.0.10", 示例效果 核心代码 <template> <a-modal class="modal-container" style="min-width: 1400px;" :visible="mod
阅读全文
posted @ 2024-03-21 18:58 Felix_Openmind
阅读(1097)
评论(0)
推荐(0)
2024年3月20日
前端页面滚动到指定节点
摘要: // 获取根元素 let content = document.querySelector('.list-space') // 获取目标元素 let targetEle = document.querySelector(`#type-id-${chatState.chatData.length -
阅读全文
posted @ 2024-03-20 15:57 Felix_Openmind
阅读(46)
评论(0)
推荐(0)
2024年3月19日
dependencies和devDependencies之间的区别?
摘要: dependencies - 项目依赖 在编码阶段和呈现页面阶段都需要的 项目依赖即在开发环境中,又在生产环境中 eg: js框架Vue、页面路由vue-router、各种UI框架antd、element-ui、vantdent -save -dev下载的插件放在devDependecies中 -s
阅读全文
posted @ 2024-03-19 17:58 Felix_Openmind
阅读(312)
评论(0)
推荐(0)
2024年3月13日
Linux环境下Vue3项目中中英文乱码导致public文件无法直接访问Excel模板问题
摘要: 解决办法 直接将模板文件名称由中文改为英文
阅读全文
posted @ 2024-03-13 21:13 Felix_Openmind
阅读(36)
评论(0)
推荐(0)
2024年3月6日
a-modal使用hooks封装状态逻辑并添加全屏切换效果
摘要: /hooks/useModal.js import { nextTick, ref } from 'vue' import {isFunction} from "lodash-es"; export function useModal() { // 标题 // 执行ok、cancel方法 const
阅读全文
posted @ 2024-03-06 17:11 Felix_Openmind
阅读(360)
评论(0)
推荐(0)
2024年3月2日
Vue3中v-for循环动态设置img的src属性无法找到图片问题
摘要: useImage.js // 获取assets静态图片 export const getAssetsImge = name => { return new URL(`../assets/images/app_img/${name}`, import.meta.url).href; }; 使用 tab
阅读全文
posted @ 2024-03-02 16:37 Felix_Openmind
阅读(1356)
评论(0)
推荐(0)
2024年2月29日
useModal对弹窗进行逻辑封装
摘要: useModal.js import { nextTick, ref } from 'vue' import { isFunction } from '@/utils/judge' export function useModal() { // 标题 // 执行ok、cancel方法 const v
阅读全文
posted @ 2024-02-29 18:19 Felix_Openmind
阅读(149)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
43
下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}