2022年1月20日

echarts3

摘要: <template> <div class="business-domian"> <div id="businessDomain"></div> <div class="dot-class mt-20"> <div class="dot-item"> <span style="color: #e0e 阅读全文

posted @ 2022-01-20 14:43 被窝暖暖嘻嘻嘻 阅读(59) 评论(0) 推荐(0) 编辑

echarts1

摘要: <template> <div class="worker-charts"> <el-tooltip effect="dark" content="所有Worker节点newOrder、payment、orderStatus、stockLevel、delivery的5类事务响应指标" placeme 阅读全文

posted @ 2022-01-20 14:41 被窝暖暖嘻嘻嘻 阅读(32) 评论(0) 推荐(0) 编辑

echarts

摘要: <template> <div class="server-charts"> <!-- 为ECharts准备一个具备大小(宽高)的Dom --> <div :id="IdName" class="chart-block"></div> <div class="chart-bottom"> <div 阅读全文

posted @ 2022-01-20 14:40 被窝暖暖嘻嘻嘻 阅读(20) 评论(0) 推荐(0) 编辑

2022年1月16日

react学习(三)

摘要: 一、react的生命周期函数 在某一时刻组件会自动执行的函数 挂载 1.componentWillMount:组件即将被挂载到之前页面的时刻 2.componentDidMount:组件被挂载到页面之后被执行 更新:props/state变化 3.shouldComponentUpdate:组件更新 阅读全文

posted @ 2022-01-16 23:17 被窝暖暖嘻嘻嘻 阅读(21) 评论(0) 推荐(0) 编辑

react学习(二)

摘要: 一、react虚拟dom 减少真实dom的创建和虚拟dom的对比,比较js对象不耗性能,但是比较dom是非常耗费性能的。 1.state数据 2.jsx模板 4.数据+模板结合,生成虚拟dom(虚拟dom是一个js对象,用它来描述真实的dom) <div id="abc"><div> ['div', 阅读全文

posted @ 2022-01-16 22:07 被窝暖暖嘻嘻嘻 阅读(18) 评论(0) 推荐(0) 编辑

react学习(一)

摘要: 一、propTypes属性校验 import PropTypes from "prop-types". TodoItem.propTypes={ test:PropTypes.string.isRequired, content:PropTypes.func, index:PropTypes.num 阅读全文

posted @ 2022-01-16 18:43 被窝暖暖嘻嘻嘻 阅读(22) 评论(0) 推荐(0) 编辑

2021年12月29日

11

摘要: vue.config.js const path = require('path') function resolve (dir) { return path.join(__dirname, '.', dir) } module.exports = { publicPath: "./", outpu 阅读全文

posted @ 2021-12-29 17:29 被窝暖暖嘻嘻嘻 阅读(24) 评论(0) 推荐(0) 编辑

啊啊啊

摘要: package。json "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox ver 阅读全文

posted @ 2021-12-29 17:23 被窝暖暖嘻嘻嘻 阅读(20) 评论(0) 推荐(0) 编辑

2021年12月13日

登录--vue

摘要: <template> <section class="login"> <div class="login-content"> <div class="login-inner"> <div class="login-inner-left"> <img src="../../assets/images/ 阅读全文

posted @ 2021-12-13 23:17 被窝暖暖嘻嘻嘻 阅读(20) 评论(0) 推荐(0) 编辑

echarts

摘要: initEcharts() { let myChart = echarts.init(document.getElementById("partTwo")); //只让click事件触发一次 myChart.off("click"); let option = { backgroundColor: 阅读全文

posted @ 2021-12-13 23:16 被窝暖暖嘻嘻嘻 阅读(56) 评论(0) 推荐(0) 编辑

导航