上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 43 下一页
摘要: 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)
摘要: 效果图 源码 <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)
摘要: 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)
摘要: 相关依赖 "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)
摘要: // 获取根元素 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)
摘要: 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)
摘要: 解决办法 直接将模板文件名称由中文改为英文 阅读全文
posted @ 2024-03-13 21:13 Felix_Openmind 阅读(36) 评论(0) 推荐(0)
摘要: /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)
摘要: 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)
摘要: 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;}