### commit message

移除不必要的日志记录和注释,并修复注释中的代码错误。

在`footer-nav`组件中,移除了一行用于调试目的的`console.log`调用,以清理生产代码。此外,该组件的DTS类型错误已被纠正,以确保类型一致性。

在`layout`视图中,一个被注释掉的代码行被正确地更新为反映变量引用的更改,该更改旨在支持数据的动态加载。
v1.0.0
sws 2024-09-06 14:39:04 +08:00
parent c5528a773c
commit 7af5b1bb7b
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ const nav_style = ref(0);
watch(
() => props.footerData,
(newVal, oldValue) => {
console.log(newVal);
const new_content = newVal?.content || {};
const new_style = newVal?.style || {};
nav_content.value = new_content?.nav_content || [];

View File

@ -88,7 +88,7 @@ const api_count = ref(0);
const right_update = (item: any, diy: [Array<any>], header: headerAndFooter, footer: headerAndFooter) => {
diy_data_item.value = item;
// form.value.diy_data = diy;
form.value.diy_data = diy;
// form.value.header = header;
// form.value.footer = footer;
// id