摘要: 消费端pom.xml <!--消费者 实体类+web--> <dependencies> <dependency> <groupId>org.example</groupId> <artifactId>springcloudapi</artifactId> <version>1.0-SNAPSHOT 阅读全文
posted @ 2021-02-05 16:04 iJunHello 阅读(105) 评论(0) 推荐(0)
摘要: 提供端依赖pom.xml <!-- 加入eureka依赖--> <!-- 我们需要拿到实体类--> <dependencies> <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starte 阅读全文
posted @ 2021-02-05 15:51 iJunHello 阅读(348) 评论(0) 推荐(0)
摘要: eureka依赖 <dependencies> <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-eureka-server --> <dependency> <groupId 阅读全文
posted @ 2021-02-05 15:26 iJunHello 阅读(73) 评论(0) 推荐(0)
摘要: vue.js推荐使用axios <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>请求</title> <style> [v-clock] { display: none; } </style> </head> 阅读全文
posted @ 2021-02-05 14:38 iJunHello 阅读(275) 评论(0) 推荐(0)
摘要: 组件可以自定义 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>组件</title> </head> <body> <div id="app"> <i-jun v-for="item in items" v- 阅读全文
posted @ 2021-02-05 14:35 iJunHello 阅读(244) 评论(0) 推荐(0)
摘要: v-for遍历数据 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <!-- 遍历--> <li v-for="(ite 阅读全文
posted @ 2021-02-05 14:18 iJunHello 阅读(184) 评论(0) 推荐(0)
摘要: vue指令表单输入控件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> 输入的文本<input type="text" 阅读全文
posted @ 2021-02-05 14:15 iJunHello 阅读(181) 评论(0) 推荐(0)
摘要: vue监听事件 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <!--事件处理--> <div id="app"> <button v-on:cli 阅读全文
posted @ 2021-02-05 14:11 iJunHello 阅读(96) 评论(0) 推荐(0)
摘要: vue基础知识 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <h1 v-if="type == 'A'">A</h1 阅读全文
posted @ 2021-02-05 14:06 iJunHello 阅读(71) 评论(0) 推荐(0)
摘要: vue基础应用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <span v-bind:title="message" 阅读全文
posted @ 2021-02-05 14:05 iJunHello 阅读(64) 评论(0) 推荐(0)