diff --git a/src/assets/icons/down.png b/src/assets/icons/down.png new file mode 100644 index 0000000..e62808c Binary files /dev/null and b/src/assets/icons/down.png differ diff --git a/src/views/boardGenerate/index.vue b/src/views/boardGenerate/index.vue index fcba5db..fbbd941 100644 --- a/src/views/boardGenerate/index.vue +++ b/src/views/boardGenerate/index.vue @@ -2,7 +2,6 @@
- {{pageSettingForm}}
@@ -1663,7 +1662,6 @@ const handleResizeStop = (event, node) => { }; onMounted(async () => { - console.log(123123); icons.value = Object.keys(icon); loading.value = true; getDataSourceList({ @@ -1683,8 +1681,8 @@ onMounted(async () => { isPage: e.fieldThree === 'true' }; }); - }) - customBoard.value = JSON.parse(localStorage.getItem('BOARDNODE') || '[]'); + }); + // customBoard.value = JSON.parse(localStorage.getItem('BOARDNODE') || '[]'); await nextTick(); getBoardApi(router.currentRoute.value.query.id) .then((res) => { @@ -1743,12 +1741,12 @@ onMounted(async () => { }; }) || []; pageData.value = JSON.parse(data.customContent) || {}; + pageSettingForm.value = pageData.value; nextTick(() => { isSnapToGrid.value = true; }); }) .finally(() => { - loading.value = false; }); }); @@ -1776,7 +1774,7 @@ const nodes = ref([{ }]); const edges = ref([]); const customData = ref([]); -const customBoard = ref([]); +// const customBoard = ref([]); const cellOption = ref({}); const boardData = ref({}); const pageData = ref({}); @@ -2042,7 +2040,6 @@ const pitchOnNode = (e) => { const cellClick = (e) => { let option = (nodeAttrForm.value.tableCellOptions || []).find(v => v.index === e.$index && v.cellIndex === e.cellIndex) || {}; - console.log(e); cellOption.value = { ...(nodeAttrForm.value.tableOptions?.[e.cellIndex] || {}), $index: e.$index, @@ -2123,7 +2120,6 @@ const setText = (value, row, formula) => { } }; -