- 博客(70)
- 收藏
- 关注
原创 ant-design-vue Modal.confirm 提示内容自定义, 多行显示
i += 1) {const item = createVNode('div', { class: 'item', }, `这是内层div的内容${import {i < 6;i += 1) {class : 'item' , } , ` 这是内层div的内容 ${ i + 1 } `);
2024-12-25 11:23:57
744
原创 gitHub OpenSSL SSL_read: Connection was reset, errno 10054 解决方法
gitHub OpenSSL SSL_read: Connection was reset, errno 10054 解决方法将原先使用密码提交的方法,更换为使用基于令牌(token)的身份验证提交,获取方法令牌(token)的步骤如下在这里插入图片描述
2022-04-02 16:26:20
1005
原创 vscode vue代码片段
1、文件2、首选项3、用户片段4、新建代码片段这里我创建的文件是vue.json{ // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded a
2021-12-21 15:01:40
380
原创 vscode,js代码片段配置
1、点击文件2、在弹出的页面中选择首选项3、在首选项的弹出的页面选择用户片段4、在弹出的页面选择新代码片段在这里我创建的文件为javascript.json{ // Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trig..
2021-12-21 14:56:03
1637
原创 金额,三位就以逗号分割的形式方法,小数两位
toThousands (num) { const result = []; let counter = 0; const str = (num || 0).toString().split('.')[0]; // 存在小数 const str1 = (num || 0).toString().split('.')[1]; let flag = false; if ((num || 0).toString().includes('.')) { // 存在小数 fl
2021-12-10 09:02:09
372
原创 v-loading的customClass使用方法
<div class="tool-container" v-loading="loading" element-loading-text="数据加载中,请稍后……" element-loading-spinner="el-icon-loading" element-loading-custom-class="loading-icon" > </div>绑定的类loading-ico
2021-12-07 18:55:47
2420
3
原创 CSS 鼠标悬停悬浮
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><style> body { background-color: #f5f5f5; width: 100%; height: 100%; } div { text-align: c
2021-10-29 10:35:07
627
原创 数据字典转换
<template slot-scope="scope" slot="value"> {{ dictionary(scope.row.value) }} </template> computed: { dictionary () { return (val) => { if (this.dictionaryValue&& this.dictionaryValue.length > 0 &&a
2021-10-18 16:33:25
328
原创 时间范围选择器, 下拉框去除分钟,只显示小时
时间范围选择器, 下拉框去除分钟,只显示小时 ,使用popper-class属性<el-date-picker size="small" v-model="date" type="datetimerange" format="yyyy-MM-dd HH" value-format="yyyy-MM-dd HH" popper-class="pickerDeleteMinutes" range-separa
2021-10-12 16:54:11
1374
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅