This commit is contained in:
icssoa 2022-08-01 14:37:15 +08:00
parent 5616b9dc32
commit 86e3e514b9
3 changed files with 4 additions and 8 deletions

View File

@ -93,6 +93,7 @@ defineExpose({
&._collapse { &._collapse {
margin-right: 0; margin-right: 0;
width: 0; width: 0;
border-right: 0;
} }
} }

View File

@ -1,5 +0,0 @@
<template>
<div>Test</div>
</template>
<script lang="ts" name="tt" setup></script>

View File

@ -1,7 +1,7 @@
<template> <template>
<cl-view-group :title="title"> <cl-view-group :title="title">
<template #left> <template #left>
<Group /> <dict-group />
</template> </template>
<template #right> <template #right>
@ -54,7 +54,7 @@
<script lang="ts" name="dict-list" setup> <script lang="ts" name="dict-list" setup>
import { useCrud, useTable, useUpsert } from "@cool-vue/crud"; import { useCrud, useTable, useUpsert } from "@cool-vue/crud";
import { useCool } from "/@/cool"; import { useCool } from "/@/cool";
import Group from "../components/group.vue"; import DictGroup from "../components/group.vue";
import { computed, provide, ref } from "vue"; import { computed, provide, ref } from "vue";
import { deepTree } from "/@/cool/utils"; import { deepTree } from "/@/cool/utils";
import { cloneDeep } from "lodash-es"; import { cloneDeep } from "lodash-es";
@ -88,7 +88,7 @@ const Upsert = useUpsert({
const data = cloneDeep(Table.value?.data); const data = cloneDeep(Table.value?.data);
function deep(d: any, f: boolean) { function deep(d: any, f: boolean) {
if (d.id == Upsert.value?.getForm("id")) { if (d.id && d.id == Upsert.value?.getForm("id")) {
f = true; f = true;
} }