摘要:
1、引入依赖 <dependency> <artifactId>velocity</artifactId> <groupId>org.apache.velocity</groupId> <version>1.7</version> </dependency> 简单使用 // 1、设置velocity 阅读全文
摘要:
<template> <div> <input type="file" ref="audioInput" @change="handleFileUpload"> <button @click="handleFileSelect">选择音频文件</button> <button @click="pla 阅读全文
摘要:
private ResponseEntity<String> uploadFileToRemote(File file) throws IOException { String url = "http://example.com/upload"; RestTemplate restTemplate 阅读全文
摘要:
.card { height: 430px; width: 100%; background:#ffffff; border:1px solid #eaeefb; border-radius:5px; box-sizing: border-box; text-align: center; posit 阅读全文
摘要:
const {width, height} = await this.getImgSize(base64) async getImgSize(base64) { const image = new Image() image.crossOrigin = '' image.src = base64 r 阅读全文
摘要:
aDownload(url, fileName) { const link = document.createElement('a') link.style.display = 'none' link.href = url link.download = fileName // link.setAt 阅读全文
摘要:
timeFormatting(val) { let time = val.slice(0, 10) // 兼容IOS time = time.replace(/-/g, '/') let date = new Date(time); let Y = date.getFullYear() let M 阅读全文
摘要:
一、姓名脱敏 handleName(name) { let arr = Array.from(name) let result = '' if (arr.length 2) { result = arr[0] + '*' } else if (arr.length > 2) { for (let i 阅读全文