1.vuex vuex要解决的问题:多个视图结构依赖于同一个状态。来自不同视图的行为需要变更同一状态。其作用是多个组件共享数据或者是跨组件传递数据。 以前的解决方法:将数据即操作的行为都定义在父组件,并将其传递给需要的各个组件(有可能需要多组传递) 2.vuex的几种状态和属性 (1)state中保 ...
分类:
其他好文 时间:
2021-04-28 12:18:13
阅读次数:
0
unique(arr) { const res = new Map(); return arr.filter( (arr) => !res.has(arr.strat_id) && res.set(arr.strat_id, 1) ); }, ...
分类:
编程语言 时间:
2021-04-28 12:04:33
阅读次数:
0
https://echarts.apache.org/examples/zh/editor.html?c=bar-stack option = { tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'shadow' ...
分类:
其他好文 时间:
2021-04-28 11:42:45
阅读次数:
0
#Hadoop 分布式计算平台,同时也是一个生态圈 hadoop 1.X HDFS+MapReducer+Common hadoop 2.X HDFS+MAP+Reducer+Common hadoop 3.X java7->java8,引入纠删码,重写shell脚本,支持超过两个NameNode, ...
分类:
其他好文 时间:
2021-04-27 15:04:12
阅读次数:
0
#include <iostream> #include <stack> #include <cstring> #include <unordered_map> using namespace std; typedef long long ll; stack<int>num; stack<char> ...
分类:
其他好文 时间:
2021-04-27 14:59:52
阅读次数:
0
标记线可在图标随意位置绘制一条刻度,方便对数据进行参照对比。 默认情况下,横轴为 category 纵轴为连续的数值。所以标记线即为纵轴上对应某个值的横线。 如下来自 Echarts 官网文档中的示例展示了简单的标记线用法: option = { xAxis: { type: "category", ...
分类:
其他好文 时间:
2021-04-27 14:58:20
阅读次数:
0
restapi.map.so.com python3+获取地图高新企业坐标 ...
分类:
编程语言 时间:
2021-04-27 14:44:15
阅读次数:
0
let option = { //图形网格边距 grid: [ { top: "0%", left: "40", right: "40", height: "30%", }, { top: "30%", left: "40", right: "40", height: "30%", }, { top ...
分类:
其他好文 时间:
2021-04-26 14:00:32
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>ECharts 测试</title> <!-- 引入 echarts.js --> <script src="https://cdn.jsdelivr.net/npm/echart ...
分类:
其他好文 时间:
2021-04-26 13:59:33
阅读次数:
0
proxy_set_header client_body_buffer_size proxy_connect_timeout 代理和real 的超时 proxy_send_timeout proxy_read_timeout proxy_buffer_size proxy_buffers ...
分类:
其他好文 时间:
2021-04-26 13:41:48
阅读次数:
0