mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2026-02-06 08:05:35 +00:00
优化
This commit is contained in:
parent
5616b9dc32
commit
86e3e514b9
@ -93,6 +93,7 @@ defineExpose({
|
|||||||
&._collapse {
|
&._collapse {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
width: 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>
|
<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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user