@7365admin1/layer-common 3.1.2-staging.36 → 3.1.2-staging.37

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.
@@ -28,7 +28,6 @@
28
28
  :items="items"
29
29
  fixed-header
30
30
  hide-default-footer
31
- hide-default-header
32
31
  @click:row="handleRowClick"
33
32
  style="max-height: 300px"
34
33
  >
@@ -281,10 +280,10 @@ const prop = defineProps({
281
280
  headers: {
282
281
  type: Array as PropType<Array<any>>,
283
282
  default: () => [
284
- { text: "Host", value: "host" },
285
- { text: "Category", value: "category" },
286
- { text: "Guard House", value: "guardPost" },
287
- { text: "Actions", value: "action", sortable: false },
283
+ { title: "Host", key: "host" },
284
+ { title: "Category", key: "category" },
285
+ // { title: "Guard House", key: "guardPost" },
286
+ // { title: "Actions", key: "action", sortable: false },
288
287
  ],
289
288
  },
290
289
  readOnly: {
@@ -296,7 +295,7 @@ const prop = defineProps({
296
295
  const computedHeaders = computed(() => {
297
296
  if (prop.type === "ip") {
298
297
  const base = [...prop.headers];
299
- base.splice(0, 0, { text: "Name", value: "name" });
298
+ base.splice(0, 0, { title: "Name", key: "name" });
300
299
  return base;
301
300
  }
302
301
  return prop.headers;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.1.2-staging.36",
5
+ "version": "3.1.2-staging.37",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "publishConfig": {