mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
Merge branch 'main' of github.com:maxkb-dev/maxkb
This commit is contained in:
commit
69d9932467
|
|
@ -79,6 +79,7 @@
|
|||
}
|
||||
.el-dialog__header {
|
||||
padding-bottom: 24px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.el-dialog__footer {
|
||||
padding-top: 0;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue