上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 我这里的表头是这样设置的 <style lang="less" scoped> ::v-deep { .ant-table-thead { tr { th:nth-child(5) { text-align: center; } } } } </style> 直接参考https://blog.csd 阅读全文
posted @ 2022-09-08 17:21 zongkm 阅读(1082) 评论(0) 推荐(0)
摘要: const columns = [ { title: "序号", dataIndex: "index", key: "index", align: "center", customRender: (text, record, index) => `${index + 1}`, width: "4%" 阅读全文
posted @ 2022-09-08 17:18 zongkm 阅读(27) 评论(0) 推荐(0)
摘要: ![](https://img2022.cnblogs.com/blog/2628599/202209/2628599-20220907111214426-888555008.png) 阅读全文
posted @ 2022-09-07 11:12 zongkm 阅读(51) 评论(0) 推荐(0)
摘要: ##js文件内 import request from "@/utils/request"; export function login(data) { return request({ url: "/auth/login", method: "post", data, }); } ##登录 vue 阅读全文
posted @ 2022-09-06 17:20 zongkm 阅读(707) 评论(0) 推荐(0)
摘要: (function(){ var jQuery = function(selector){ //实例化init方法 return new jQuery.fn.init(selector); }; function markAll(dom,that){ var ret = that; //节点的遍历并 阅读全文
posted @ 2022-09-05 10:03 zongkm 阅读(23) 评论(0) 推荐(0)
摘要: ##js文件中 url: '/openOrganization/openOrgList', 对应的是接口文档那边的链接 method: 'post', 请求方式 data 数据 ##vue文件中 import { xxxxx } from '@/api/video-devices.js' 因为js文 阅读全文
posted @ 2022-09-02 20:32 zongkm 阅读(48) 评论(0) 推荐(0)
摘要: 获取对象长度 var length = Object.keys(obj).length; 遍历对象的方法 https://blog.csdn.net/MISS_zhang_0110/article/details/123369222 数组循环 https://blog.csdn.net/lifang 阅读全文
posted @ 2022-08-30 22:13 zongkm 阅读(31) 评论(0) 推荐(0)
摘要: 参考 https://www.cnblogs.com/goudongmei/p/15141352.html 小案例 const hours = new Array(24).fill('').map((_, index) => +index + 1) return hours.slice(startH 阅读全文
posted @ 2022-08-30 22:05 zongkm 阅读(14) 评论(0) 推荐(0)
摘要: 不错的博客 https://blog.csdn.net/qq_43895215/article/details/124626692 阅读全文
posted @ 2022-08-30 22:03 zongkm 阅读(14) 评论(0) 推荐(0)
摘要: <ma-time-picker format="hh:mm A" style="flex: 3" :showNow="false" :allowClear="false" v-model:value="listTime.startTime" > </ma-time-picker> 组件在上面 imp 阅读全文
posted @ 2022-08-25 14:00 zongkm 阅读(81) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页