01 2023 档案
摘要:使用 SpringBoot 发送邮件 思路:使用 thymeleaf 解析并渲染 html 模版,将 html 内容作为邮件内容发送 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st
阅读全文
摘要:基本语法 模板语法 1. {{ msg }} 2. v-html="attName" 3. v-bind:xxx="attName" or :xxx="attName" ==> <tag xxx="val" /> 4. 在模板中使用 js 表达式,比如 {{ ok ? "YES":"NO" }},
阅读全文
摘要:今天遇到一前端问题。axios 导出后台 xls 文件出现乱码。 多会儿没写发现前端了,发现是【没指定响应类型时,axios 默认把响应内容包成字符串,即 type(res.data) = 'string'】,直接保存字符串存储的二进制就出问题了。 解决:指定响应类型为 blob,那么 axios
阅读全文
摘要:date: 2023-01-11T12:09:16Z nexus3 安装 nx3 & 创建仓库 官方文档:https://help.sonatype.com/docs docker run -d -p 8880:8081 --name nexus \ -e INSTALL4J_ADD_VM_PARA
阅读全文