可编辑
Frontend CI/CD / build (web-office) (push) Failing after 11s Details

This commit is contained in:
hujiale 2024-10-23 20:15:15 +08:00
parent 4b8b04e1fc
commit fde6c4cb9e
1 changed files with 13 additions and 4 deletions

View File

@ -1,19 +1,28 @@
<template> <template>
<div class="custom-card w-[100%] h-[100%] flex flex-col"> <div class="custom-card w-[100%] h-[100%] flex flex-col">
<div class="card-name titlt-top">我的应用</div> <div class="card-name titlt-top" v-if="isEdit"><div>我的应用</div><EditOutlined /></div>
<div class="card-name titlt-top" v-else >
<Input v-model:value="cardName" >
<template #addonAfter>
<CheckOutlined />
</template>
</Input></div>
<GridGroup :list="data.childer" class="flex-1"></GridGroup> <GridGroup :list="data.childer" class="flex-1"></GridGroup>
</div> </div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { toRefs } from 'vue' import { toRefs ,ref} from 'vue'
import GridGroup from '../GridGroup/index.vue' import GridGroup from '../GridGroup/index.vue';
import { CheckOutlined,EditOutlined} from '@ant-design/icons-vue';
import { Input } from 'ant-design-vue';
let cardName = ref('我的应用')
const props = defineProps({ const props = defineProps({
data: { data: {
type: Object, type: Object,
default: {} default: {}
}, },
}) })
let isEdit = ref(true)
console.log('propsprops', props.data); console.log('propsprops', props.data);
let { data } = toRefs(props); let { data } = toRefs(props);