讲过STP的原理之后,我们就要说一下实际的工作环境, 在实际工作中,很少有人会使用STP这样的公有标准(所有vlan共用一棵树)因为这有些不够灵活, Cisco 私有协议 PVST\PVST+ 横空出世, PVST ,针对每个VLAN,一棵树的原理进行设计,更加的灵活 PVST+,升级版,比PVST ...
分类:
其他好文 时间:
2020-07-11 09:54:05
阅读次数:
56
STP 802.1D公有化标准 ieee 所有VLAN,共用一棵树(基于设备) 一、什么是STP二、为什么要有STP,没有行不行? 三、标准有哪些? 四、角色有哪些? 五、选举机制是什么? 六、都有哪些接口? 七、接口都有什么状态? 一 、什么是STP Spanning-tree protocol( ...
分类:
其他好文 时间:
2020-07-11 00:07:49
阅读次数:
86
递归生成antd的TreeSelect或者Tree的树子节点 以下是初始数据格式 data: [ {code:'1', childrenList:[ {code:'1-1', childrenList:[ {code:'1-1-1', childrenList:[]}, {code:'1-1-2', ...
分类:
其他好文 时间:
2020-07-10 23:53:53
阅读次数:
147
有个这样的需求,点击角色列表每一行,根据返回的roleTypeDictCode的值,控制右边菜单分配树选择是否禁用;我已经做出来每次点击,给节点加disabled了,但是菜单没变,但是点击树的时候,其实disabled的属性是加上的,不知道为什么没有加载出来; 后来终于实现了: methods: / ...
分类:
其他好文 时间:
2020-07-10 19:01:06
阅读次数:
121
什么是事务? 我们在开发企业应用时,通常业务人员的一个操作实际上是对数据库读写的多步操作的结合。由于数据操作在顺序执行的过程中,任何一步操作都有可能发生异常,异常会导致后续操作无法完成,此时由于业务逻辑并未正确的完成,之前成功操作的数据并不可靠,如果要让这个业务正确的执行下去,通常有实现方式: 记录 ...
分类:
编程语言 时间:
2020-07-10 13:20:41
阅读次数:
59
Given an n-ary tree, return the level order traversal of its nodes' values. Nary-Tree input serialization is represented in their level order traversa ...
分类:
其他好文 时间:
2020-07-10 11:20:42
阅读次数:
63
Maximum Width of Binary Tree (M) 题目 Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maxim ...
分类:
其他好文 时间:
2020-07-10 10:11:00
阅读次数:
54
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binar ...
分类:
其他好文 时间:
2020-07-10 10:07:44
阅读次数:
60
Given a binary tree, write a function to get the maximum width of the given tree. The width of a tree is the maximum width among all levels. The binar ...
分类:
其他好文 时间:
2020-07-10 09:54:38
阅读次数:
54
#leetcode递归学习 参考: [1]https://www.jianshu.com/p/1395fae8a1ae ##三步走 (1)确定终止条件 (2)确定递归过程 (3)确定本层递归返回值 ##一、104 二叉树最大深度 /** * Definition for a binary tree ...
分类:
其他好文 时间:
2020-07-10 09:24:32
阅读次数:
58