12 2024 档案
摘要:<script setup lang="ts"> import { useDraggable, useMouseInElement } from '@vueuse/core'; import type { CSSProperties } from 'vue'; interface Props { i
阅读全文
摘要:<script setup lang="ts"> import { Empty } from 'ant-design-vue'; export interface TBColumn { title: string dataIndex: string // key: string ellipsis?:
阅读全文
摘要:<script setup lang="ts"> import { Empty } from 'ant-design-vue'; const props = withDefaults(defineProps<{ modelValue: any[] // 重要: 外部在使用这个的时候,不要修改,要通过
阅读全文
摘要:<script setup lang="ts"> import { ref } from 'vue'; const list = ref([{}]); const queryParams = ref({ currentPage: 1, pageSize: 15, totalPage: 100, })
阅读全文
摘要:// 数据平均分配 function generateSequence(startValue: any, endValue: any, increment: any) { const sequence = []; for (let i = startValue; i <= endValue; i +
阅读全文