diff --git a/src/components/DiyEditor/components/mobile/NavigationBar/index.vue b/src/components/DiyEditor/components/mobile/NavigationBar/index.vue index c684aee71..c5a92b31f 100644 --- a/src/components/DiyEditor/components/mobile/NavigationBar/index.vue +++ b/src/components/DiyEditor/components/mobile/NavigationBar/index.vue @@ -4,7 +4,7 @@
{{ cell.text }} - +
{ } as StyleValue } // 获得搜索框属性 -const getSearchProp = (cell: NavigationBarCellProperty) => { +const getSearchProp = computed(() => (cell: NavigationBarCellProperty) => { return { height: 30, showScan: false, placeholder: cell.placeholder, borderRadius: cell.borderRadius } as SearchProperty -} +})