morghulis 4.0.9 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -49,18 +49,55 @@ app.use(createMorghulis()).mount('#app')
|
|
49
49
|
|
50
50
|
## getting start
|
51
51
|
|
52
|
-
|
52
|
+
### Data Table
|
53
|
+
|
54
|
+
- when db equals orm, Valar will provide using SQL database (such as SQLLite, MySQL, Postgresql)
|
55
|
+
- when db equals mon, Valar will provide using Mongodb
|
56
|
+
- entity is the path to the relative data model of Valar server
|
57
|
+
- code is the data view name, Valar will automatically create a data view for you. You can edit the data view in the
|
58
|
+
table
|
53
59
|
|
54
60
|
```vue
|
55
61
|
|
56
|
-
<d-table
|
62
|
+
<d-table
|
63
|
+
db="orm"
|
64
|
+
entity="valar.Valar"
|
65
|
+
code="special"
|
66
|
+
></d-table>
|
67
|
+
|
68
|
+
```
|
69
|
+
|
70
|
+
### Data Tree
|
57
71
|
|
72
|
+
- try to edit the data in Tree, see what will happen in the Table
|
73
|
+
|
74
|
+
```vue
|
75
|
+
|
76
|
+
<el-row>
|
77
|
+
<el-col :span="12">
|
78
|
+
<d-tree
|
79
|
+
db="orm"
|
80
|
+
entity="valar.Vmm"
|
81
|
+
broadcast
|
82
|
+
></d-tree>
|
83
|
+
</el-col>
|
84
|
+
<el-col :span="12">
|
85
|
+
<d-table
|
86
|
+
db="orm"
|
87
|
+
entity="valar.Vmm"
|
88
|
+
code="tree"
|
89
|
+
broadcast
|
90
|
+
></d-table>
|
91
|
+
</el-col>
|
92
|
+
</el-row>
|
58
93
|
```
|
59
94
|
|
60
|
-
|
95
|
+
### Meta Editor
|
96
|
+
|
97
|
+
- a panel to edit the meta data of Valar server
|
61
98
|
|
62
99
|
```vue
|
63
100
|
|
64
|
-
<
|
101
|
+
<meta-editor></meta-editor>
|
65
102
|
|
66
103
|
```
|