mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 23:12:51 +00:00
优化
This commit is contained in:
parent
5616b9dc32
commit
86e3e514b9
@ -93,6 +93,7 @@ defineExpose({
|
||||
&._collapse {
|
||||
margin-right: 0;
|
||||
width: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<div>Test</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" name="tt" setup></script>
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<cl-view-group :title="title">
|
||||
<template #left>
|
||||
<Group />
|
||||
<dict-group />
|
||||
</template>
|
||||
|
||||
<template #right>
|
||||
@ -54,7 +54,7 @@
|
||||
<script lang="ts" name="dict-list" setup>
|
||||
import { useCrud, useTable, useUpsert } from "@cool-vue/crud";
|
||||
import { useCool } from "/@/cool";
|
||||
import Group from "../components/group.vue";
|
||||
import DictGroup from "../components/group.vue";
|
||||
import { computed, provide, ref } from "vue";
|
||||
import { deepTree } from "/@/cool/utils";
|
||||
import { cloneDeep } from "lodash-es";
|
||||
@ -88,7 +88,7 @@ const Upsert = useUpsert({
|
||||
const data = cloneDeep(Table.value?.data);
|
||||
|
||||
function deep(d: any, f: boolean) {
|
||||
if (d.id == Upsert.value?.getForm("id")) {
|
||||
if (d.id && d.id == Upsert.value?.getForm("id")) {
|
||||
f = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user