修改了readme
This commit is contained in:
@@ -1,2 +1,13 @@
|
||||
# StructV2
|
||||
|
||||
### 启动
|
||||
```javascript
|
||||
1. git clone
|
||||
2. npm install
|
||||
3. npm run dev
|
||||
```
|
||||
|
||||
### 源码里一些概念解释
|
||||
1. `Model`里的`defineProps`方法是干什么的?
|
||||
2. `ViewManager`里面的`shadowG6Instance`属性是干什么的?
|
||||
3. `ModelConstructor`里面的`constructLinks`和`constructMarkers`具体做了什么工作?
|
||||
|
||||
@@ -107,10 +107,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cur.on('onLeak', () => { });
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-1
@@ -10,6 +10,7 @@
|
||||
"webpack-cli": "^3.2.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc && webpack"
|
||||
"build": "tsc && webpack",
|
||||
"dev": "webpack --w"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,8 +86,6 @@ export class ViewManager {
|
||||
);
|
||||
});
|
||||
|
||||
console.log(removeModels);
|
||||
|
||||
removeModels.map(model => {
|
||||
Util.removeFromList(freedGroup.modelList, item => item.id === model.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user