diff --git a/src/components/JsonEditor/index.vue b/src/components/JsonEditor/index.vue new file mode 100644 index 00000000..dcb5ee2d --- /dev/null +++ b/src/components/JsonEditor/index.vue @@ -0,0 +1,64 @@ + + + + + + + + + diff --git a/src/views/example/table/dynamicTable/fixedThead.vue b/src/views/example/table/dynamicTable/fixedThead.vue new file mode 100644 index 00000000..5c088490 --- /dev/null +++ b/src/views/example/table/dynamicTable/fixedThead.vue @@ -0,0 +1,58 @@ + + + + + + apple + banana + orange + + + + + + + + {{scope.row[fruit]}} + + + + + + + + + diff --git a/src/views/example/table/dynamicTable/index.vue b/src/views/example/table/dynamicTable/index.vue new file mode 100644 index 00000000..6182f0e7 --- /dev/null +++ b/src/views/example/table/dynamicTable/index.vue @@ -0,0 +1,19 @@ + + + 固定表头 按照表头顺序排序 + + + 不固定表头 按照点击顺序排序 + + + + + + diff --git a/src/views/example/table/dynamicTable/unfixedThead.vue b/src/views/example/table/dynamicTable/unfixedThead.vue new file mode 100644 index 00000000..a5991326 --- /dev/null +++ b/src/views/example/table/dynamicTable/unfixedThead.vue @@ -0,0 +1,47 @@ + + + + + + apple + banana + orange + + + + + + + + + {{scope.row[fruit]}} + + + + + + + +