Merge branch 'main' of github.com:maxkb-dev/maxkb

This commit is contained in:
shaohuzhang1 2024-02-29 16:40:30 +08:00
commit 69d9932467
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,7 @@
}
.el-dialog__header {
padding-bottom: 24px;
font-weight: 500;
}
.el-dialog__footer {
padding-top: 0;

View File

@ -49,6 +49,7 @@
</template>
<script setup lang="ts">
import { ref, reactive, onMounted, watch } from 'vue'
import { cloneDeep } from 'lodash'
import type { TabsPaneContext } from 'element-plus'
import EditParagraphDialog from './EditParagraphDialog.vue'
import { filesize, getImgUrl } from '@/utils/utils'
@ -100,7 +101,7 @@ function deleteHandle(item: any, index: number, cIndex: number) {
}
function updateContent(data: any) {
newData.value[currentPIndex.value].content[currentCIndex.value] = data
newData.value[currentPIndex.value].content[currentCIndex.value] = cloneDeep(data)
emit('update:data', newData.value)
}