摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=de 阅读全文
摘要:
downExcelTem = () => { let url = `${config.API_ROOT}/excelTemplateExport` let link = document.createElement('a') link.style.display = 'none' link.href 阅读全文
摘要:
1.el-date-picker设置只能选当天 el-date-picker设置 :picker-options="pickerOptions" pickerOptions: { onPick: (time) => { //当第一时间选中才设置禁用 if (time.minDate && !time 阅读全文
摘要:
<Form.Item label={`发送对象`}> {getFieldDecorator('participants', { rules: [{ required: true, message: '请选择发送对象!' }], })( <Select style={{ width: '300px' 阅读全文
摘要:
方法一: (这种方法闰年转化后日期会有问题) function formatDate(numb, format) { if (numb != undefined) { let time = new Date((numb - 1) * 24 * 3600000 + 1) time.setYear(ti 阅读全文
摘要:
1.手动添加cookie,例如JSESSIONID 在 Console 下输入命令 document.cookie="JSESSIONID=value" 阅读全文
摘要:
插件地址:http://www.bacubacu.com/colresizable/#download 阅读全文
摘要:
1.组件 const watermark = ({ // 使用 ES6 的函数默认值方式设置参数的默认取值 container = document.body, width = '250px', height = '160px', textAlign = 'left', textBaseline = 阅读全文
摘要:
index.jsx /* eslint-disable react/destructuring-assignment */ import React, { PureComponent } from "react"; import { Select } from "antd"; import Drop 阅读全文
摘要:
1.执行eject 暴露配置文件 2.安装模块 npm install less less-loader --save-dev 3.添加代码 const lessRegex = /\.less$/; const lessModuleRegex = /\.module\.less$/; 4.参照sas 阅读全文