logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Mybatis-plus新版本分页失效,PaginationInterceptor过时问题

一、确认mybatis-plus-boot-starter版本3.4.0版本对此部分有更新,如果是旧版本升级,会出现分页失效问题,同时idea回提示PaginationInterceptor过时,新版本改用了MybatisPlusInterceptor二、Mybatis-plus3.4.0版本配置更改新版配置后,分页功能正常,注意DbType.MYSQL改为自己使用的数据库类型,否则分页也不生效@

vue 动态加载 Error: Cannot find module ‘@/views/xxx‘ at webpackEmptyContext (index.js:39)

报错:原来写法:export const loadView = (view) => {return () => import(`@/views/${view}`)}修改为:export const loadView = (view) => {return (resolve) => require([`@/views/${view}`], resolve)}原因:webpac

Vue使用axios----ReferenceError: axios is not defined问题解决

问题1:ReferenceError: axios is not defined问题代码:const requrl = '/user/find/1'axios.get(requrl).then(response => {const user = response.datathis.username = user.usernamethis.age = user.age}).catch(func

Vue使用axios----ReferenceError: axios is not defined问题解决

问题1:ReferenceError: axios is not defined问题代码:const requrl = '/user/find/1'axios.get(requrl).then(response => {const user = response.datathis.username = user.usernamethis.age = user.age}).catch(func

到底了