摘要:
border有个border-image的属性,类似background也有个background-image一样,通过为其设置渐变颜色后,实现的渐变,后面的数字4为x方向偏移量 .border-grident{ margin-top: 20px; width: 200px; height: 200 阅读全文
摘要:
useModal.js import { nextTick, ref } from 'vue' import {isFunction} from "lodash-es"; export function useModal() { const visible = ref(false) const lo 阅读全文
摘要:
watch(() => props.record, () => { if (props?.record) { let recordData = props?.record console.log('output-> recordData', recordData) // 2 - 待反馈 if (re 阅读全文
摘要:
效果图 核心代码 <a-cascader @change="handleModule" :fieldNames="{label: 'moduleName', value: 'moduleId' , children: 'moduleVoList'}" :options="moduleTypeArrs 阅读全文
摘要:
参考连接 https://www.wangeditor.com/v5/for-frame.html#使用-1 效果图 相关依赖 <template> <div> <div style="border: 1px solid #ccc; margin-top: 10px"> <Toolbar :edit 阅读全文
摘要:
const promise1 = fetch('https://api.example.com/data1'); const promise2 = fetch('https://api.example.com/data2'); Promise.all([promise1, promise2]) 阅读全文
摘要:
效果图 源码 <template> <div> <a-drawer placement="right" :closable="true" width="560" :visible="visible" :after-visible-change="afterVisibleChange" @close= 阅读全文
摘要:
public文件夹下存入模板文件 "file-saver": "^2.0.5", "jszip-utils": "^0.1.0", "pizzip": "^3.1.4", "docxtemplater": "^3.42.7", <template> <div> </div> </template> 阅读全文
摘要:
相关依赖 "typeit": "^8.8.3", "vue3-markdown-it": "^1.0.10", 示例效果 核心代码 <template> <a-modal class="modal-container" style="min-width: 1400px;" :visible="mod 阅读全文
摘要:
// 获取根元素 let content = document.querySelector('.list-space') // 获取目标元素 let targetEle = document.querySelector(`#type-id-${chatState.chatData.length - 阅读全文