可编辑
Frontend CI/CD / build (web-office) (push) Failing after 11s
Details
Frontend CI/CD / build (web-office) (push) Failing after 11s
Details
This commit is contained in:
parent
4b8b04e1fc
commit
fde6c4cb9e
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue