摘要:
@Entity <dependency> <groupId>javax.persistence</groupId> <artifactId>javax.persistence-api</artifactId> <version>2.2</version> <!-- 请根据你的需要选择版本 --></ 阅读全文
posted @ 2024-02-24 03:58
hongdouni
阅读(351)
评论(0)
推荐(0)
摘要:
添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency> CorsFilter 才可以配置引用 @Config 阅读全文
posted @ 2024-02-24 01:57
hongdouni
阅读(32)
评论(0)
推荐(0)
摘要:
main目录下 创建 resources 创建application.yml 配置pom.xml 引入依赖 <!-- mysql 连接java 的驱动程序--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-jav 阅读全文
posted @ 2024-02-24 01:42
hongdouni
阅读(29)
评论(0)
推荐(0)
摘要:
安装 npm install vuex --save store下index.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ state: { }, gett 阅读全文
posted @ 2024-02-24 01:10
hongdouni
阅读(6)
评论(0)
推荐(0)
摘要:
vue.config.js中配置 module.exports = defineConfig({ transpileDependencies: true, devServer:{ proxy:{ '/api':{ target:'http://localhost:8088', changeOrigi 阅读全文
posted @ 2024-02-24 01:00
hongdouni
阅读(11)
评论(0)
推荐(0)
摘要:
下载 axios npm install axios -g 下载element-ui npm i element-ui -S Axios 全局引入 在main.js中使用 import axios from 'axios' Vue.prototype.$axios=axios; //加载到原型上 就 阅读全文
posted @ 2024-02-24 00:46
hongdouni
阅读(62)
评论(0)
推荐(0)

浙公网安备 33010602011771号