摘要: 1.找到当前安装JDK的路径 2.去环境变量设置 部分win10 电脑有小bug 重启后配置的环境变量会失效 解决方案 1. JAVA_HOME 一样配 2.在path中 就直接写入完整路径 比如 F:\JAVA\JDK\bin 阅读全文
posted @ 2022-11-21 23:08 热爱前端的5号机器 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1. 官网下载 https://www.oracle.com/java/technologies/downloads/#jdk17-windows 2.安装 最好不要用中文路径 直接下一步下一步就可以了 3. 新建HelloWorld.java 尝试“HelloWorld” public class 阅读全文
posted @ 2022-11-21 22:49 热爱前端的5号机器 阅读(60) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="container"> <div class="header"> <h1>数据可视化-Echarts</h1> <div class="show-time">当前时间: {{ nowDate }}</div> </div> <div class="foo 阅读全文
posted @ 2022-11-20 11:41 热爱前端的5号机器 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 1.引入flexible.js 这个适用于ui图1920px 其他大小需对应调整 flexible.js 把屏幕分为24等份 把下面的代码复制到项目中 新建一个 js文件 (function flexible(window, document) { var docEl = document.docu 阅读全文
posted @ 2022-11-20 11:15 热爱前端的5号机器 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 1. 路由传参两种方式 params 方式 query方式 params方式需要占位 query方式不需要 阅读全文
posted @ 2022-11-17 23:55 热爱前端的5号机器 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1.在路由中配置自定义属性 2.在使用页面组件中 用$route.meta.show 是否为true判断组件显示或隐藏 下面为例 3. 示例 阅读全文
posted @ 2022-11-17 23:28 热爱前端的5号机器 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-16 22:23 热爱前端的5号机器 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1.npm 或 yarn 安装axios到项目中 npm install axios yarn add axios 2.新建api文件 引入服务器的基本IP:端口 //所有用户的接口 import axios from "axios"; //服务器的基本IP:端口 axios.defaults.ba 阅读全文
posted @ 2022-11-14 23:32 热爱前端的5号机器 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1.在elemetn官网 找到主题 配置自己的主题颜色 2.下载的样式解压后引入项目中 3.把刚刚解压的文件 放到我们项目里 4.在main.js里面去全局引入 5.这样全局就生效了 下面是效果对比 阅读全文
posted @ 2022-11-14 22:28 热爱前端的5号机器 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 1.HTML <template> <div class="container"> <div class="top">上</div> <div class="main"> <!-- 动态加载侧边栏 首先分为可折叠的 不可折叠的 --> <div class="left"> <!-- default- 阅读全文
posted @ 2022-11-14 22:02 热爱前端的5号机器 阅读(1751) 评论(0) 推荐(0) 编辑