修改链表倒三角的bug

This commit is contained in:
zhenggengtong 2022-02-18 18:57:41 +08:00
parent 23c5eb13b9
commit 998844b6e0
2 changed files with 3 additions and 3 deletions

2
dist/sv.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2022-01-26 01:58:25
* @LastEditTime: 2022-02-17 21:57:51
* @LastEditTime: 2022-02-18 18:51:28
* @LastEditors: Please set LastEditors
* @Description: koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \c:\Users\13127\Desktop\\0126\StructV2\src\RegisteredShape\linkListNode.ts
@ -63,7 +63,7 @@ export default Util.registerShape('link-list-node', {
}
//节点没有后续指针时
if(!cfg.next){
if(!cfg.next && !cfg.loopNext){
group.addShape('text', {
attrs: {
x: width * (4 / 3),