2025年7月6日

摘要: 父组件引入 const dateRange = ref('2024-12-18 到 2024-12-25')const date = ref(['2025-07-06 00:00:00', '2025-07-06 23:59:59'])<AppDatePicker v-model="date" v- 阅读全文
posted @ 2025-07-06 23:57 完美前端 阅读(8) 评论(0) 推荐(0)
摘要: 父组件引入组件方法 const date = ref('')const periodOptions = ref([ { label: '篮球', value: 0 }, { label: '足球', value: 1 }, { label: '排球', value: 2 },])watch(date 阅读全文
posted @ 2025-07-06 19:34 完美前端 阅读(3) 评论(0) 推荐(0)

2024年12月22日

摘要: 在ssh服务器安装yum的时候报错,Cannot find a valid baseurl for repo: base/7/x86_64 其实就是没有yum源, 设置源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun. 阅读全文
posted @ 2024-12-22 14:49 完美前端 阅读(423) 评论(1) 推荐(0)

2024年9月18日

摘要: import {sendUpdataUrl, IMG_URL} from "/http";import moment from 'moment'import CryptoJS from 'crypto-js';const Storage = { /** * 设置缓存 * @param {string 阅读全文
posted @ 2024-09-18 20:46 完美前端 阅读(114) 评论(0) 推荐(0)
摘要: 1,静态资源存放路径 要在src下的renderer目录下新建public, 其他新建文件夹也都放在第一层的src下和renderer同级 2,引用静态资源的路径 引用路径要引用out文件夹下的路径, out是打包前 和 本地开发的资源路径, 会把public下面的打包过来 3,打包后,mac 下无 阅读全文
posted @ 2024-09-18 18:27 完美前端 阅读(458) 评论(0) 推荐(0)

2024年9月13日

摘要: @charset "UTF-8";body,html,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,textarea,p,th,td { margin: 0; padding: 0;}table { border-collapse: collapse; 阅读全文
posted @ 2024-09-13 18:39 完美前端 阅读(110) 评论(0) 推荐(0)

2024年9月2日

摘要: 官网 https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push https://api.jpush.cn/v3/pushPost 方式 设置请求头 Authorization: Basic *** ***是Base64(appkey:Mas 阅读全文
posted @ 2024-09-02 16:58 完美前端 阅读(267) 评论(0) 推荐(0)

2024年8月21日

摘要: 插槽中的单一数据绑定 一种较为简单的场景,即插槽传递单一数据。这种情况下,插槽中的内容可以接受一个传入的数据,然后在组件中使用. 使用了一个名为 header 的插槽,并通过 message="hello" 将一个字符串 “hello” 作为 headerProps 传递给插槽。这里的 header 阅读全文
posted @ 2024-08-21 20:45 完美前端 阅读(6) 评论(0) 推荐(0)

2024年6月10日

摘要: https://www.woshipm.com/pd/5825188.html 阅读全文
posted @ 2024-06-10 19:19 完美前端 阅读(8) 评论(0) 推荐(0)
摘要: const imgFiles = (require as any).context("./", false, /(\.png)|(\.jpg)$/) const imgUrls: any = {} imgFiles.keys().forEach((key: string) => { const id 阅读全文
posted @ 2024-06-10 19:10 完美前端 阅读(98) 评论(0) 推荐(0)

导航