fix:将工具函数export{}改成export default {}
This commit was merged in pull request #5.
This commit is contained in:
1 parent
631df21b33
commit
8afbb9ef59
2 files changed
+3
-3
No files matched your search
@@ -3,7 +3,7 @@
|
||||
import bg from '@/static/image/feed-plan/bg.png'
|
||||
import circle from '@/static/image/feed-plan/circle.png'
|
||||
import message from '@/static/image/feed-plan/message.png'
|
||||
import {getSafeHeight} from '@/utils'
|
||||
import ToolApi from '@/utils'
|
||||
|
||||
interface ListItem {
|
||||
img: string
|
||||
@@ -69,7 +69,7 @@ const listModel = ref<ListItem[]>([
|
||||
time: '2025年1月1日',
|
||||
},
|
||||
])
|
||||
const safeHeight = getSafeHeight()
|
||||
const safeHeight = ToolApi.getSafeHeight()
|
||||
const searchValue = ref<string>('')
|
||||
|
||||
const info = ref<Item[]>([
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@ function getSafeHeight(): number {
|
||||
return safeAreaInsetBottom + menuButtonInfoHeight
|
||||
}
|
||||
|
||||
export {
|
||||
export default {
|
||||
getSafeHeight
|
||||
}
|
||||
Reference in new issue
Block a user