摘要: SpringMvc 访问 /test和/test.**时会使用/test接口 SpringBoot 访问 /test和/test.**时,只有 /test会使用/test接口 原因: 1、观察RequestMappingHandlerMapping的源码,可以看到SpringMVC底层默认会开启/t 阅读全文
posted @ 2020-09-11 22:16 神无二一 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 参考 1、安装fontawesome npm i nuxt-fontawesome -S npm i @fortawesome/free-brands-svg-icons -S npm i @fortawesome/free-regular-svg-icons -S npm i @fortaweso 阅读全文
posted @ 2020-08-15 11:07 神无二一 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 1、创建SecurityUser类,需要实现UserDetails接口 import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.security.core.GrantedAuthority; im 阅读全文
posted @ 2020-07-31 18:30 神无二一 阅读(4672) 评论(0) 推荐(0) 编辑
摘要: 方法: css选择器 >>> 标签 <template> <div v-html="data" class="test"> </div> </template> <script> export default { data(){ return{ data:"<h1>Hello World</h1>" 阅读全文
posted @ 2020-07-27 21:37 神无二一 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 1、安装simplemde npm install simplemde --save //markdown编辑器 npm install font-awesome --save //FontAwesome字体图标 npm install showdown --save //转换markdown语法 阅读全文
posted @ 2020-07-27 21:19 神无二一 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 1、安装tinymce-vue和tinymce npm install @tinymce/tinymce-vue -S npm install tinymce -S 2、在public下创建以下目录结构 将node_modules\tinymce下的plugins和skins复制到tinymce下 阅读全文
posted @ 2020-07-27 20:30 神无二一 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 以下操作参照了 RuoYi-Vue 点击下载图标 1、安装fontawesome npm install font-awesome --save 2、在assets目录下创建以下目录结构, 其中,svg中存放所有要用到的图标 index.js中添加以下代码 import Vue from 'vue' 阅读全文
posted @ 2020-07-27 20:09 神无二一 阅读(924) 评论(5) 推荐(0) 编辑
摘要: 方法1:直接调用函数 使用location.reload()或者this.$router.go(0)将整个页面重载 方法2:采用provide / inject 1、修改App.vue,声明reload函数 2、在需要重载的页面注入reload函数,然后直接调用reload函数即可。 阅读全文
posted @ 2020-07-27 19:21 神无二一 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: ##1、删除硬盘中的vue cli 使用 where vue 查看 vue的安装位置 使用vue -V查看vue是否被卸载 ##2、安装新版vue 使用命令npm install -g @vue/cli 查看vue版本 问题解决 阅读全文
posted @ 2020-06-15 19:24 神无二一 阅读(2461) 评论(0) 推荐(0) 编辑
摘要: 解决: npm uninstall node-sass npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ 阅读全文
posted @ 2020-06-13 16:38 神无二一 阅读(6207) 评论(1) 推荐(2) 编辑