不支持
摘要: [ { "name": "北京市", "code": "110000", "city": [ { "name": "市辖区", "code": "110100", "area": [ {"name": "东城区","code": "110101"}, {"name": "西城区" 阅读全文
posted @ 2024-09-20 10:21 骑上我的小摩托 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //省 <a-select v-model:value="formState.address" style="width: 180px; margin-right: 20px" :options="province.map((prov) => ({ value: prov.name }))" @ch 阅读全文
posted @ 2024-09-20 10:18 骑上我的小摩托 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 首先你得安装好Ant Design 第二步,main.js import dayjs from 'dayjs'; import 'dayjs/locale/zh-cn'; dayjs.locale('zh-cn'); 第三步: App.vue //引入 import zhCN from 'ant-d 阅读全文
posted @ 2024-08-30 09:24 骑上我的小摩托 阅读(17) 评论(0) 推荐(0) 编辑
摘要: import { notification } from 'ant-design-vue' type NoticeType = 'info' | 'success' | 'error' | 'warning' // 保证 notification提示不重复 const messageSet = ne 阅读全文
posted @ 2024-08-26 10:09 骑上我的小摩托 阅读(8) 评论(0) 推荐(0) 编辑
摘要: //绿色.text { background-color: #06a18d; color: #fff; letter-spacing: 0; line-height: 16px; padding: 0 2px; text-align: center; position: absolute; widt 阅读全文
posted @ 2024-07-31 18:05 骑上我的小摩托 阅读(7) 评论(0) 推荐(0) 编辑
摘要: window.open('https://www.cnblogs.com/FuGui-Wang','_blank','top=300,left=300,width=800,height=650,menubar=no,toolbar=no,status=no,scrollbars=yes') 打开一个 阅读全文
posted @ 2024-07-24 11:14 骑上我的小摩托 阅读(1) 评论(0) 推荐(0) 编辑
摘要: box-shadow: 0 1px 2px -2px rgb(0 0 0 / 16%), 0 3px 6px 0 rgb(0 0 0 / 12%), 0 5px 12px 4px rgb(0 0 0 / 9%); } 阅读全文
posted @ 2024-07-05 12:00 骑上我的小摩托 阅读(1) 评论(0) 推荐(0) 编辑
摘要: if (document.getElementsByClassName('el-message').length == 0) { ElMessage({ type: 'error', message: error.message }) } el-message可替换为各种弹框例如el-message 阅读全文
posted @ 2024-07-03 12:00 骑上我的小摩托 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 常用于截取文件名,或者文件后缀 let lis = res.data.data.rows for (let i = 0; i < lis.length; i++) { const splitArray = lis[i].projectFileStr.split('/') const substrin 阅读全文
posted @ 2024-07-02 15:46 骑上我的小摩托 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 阿里云oss获取缩略图的方法,前段拿到连接后拼接一下代码即可 图片链接拼接一下字符串 ?x-oss-process=image/resize,m_fill,w_200,quality,q_60 视频链接拼接一下字符串 ?x-oss-process=video/snapshot,t_7000,f_jp 阅读全文
posted @ 2024-07-02 15:35 骑上我的小摩托 阅读(171) 评论(0) 推荐(0) 编辑