fix(miniprogram): repair broken bxFormat imports after safe-area wiring
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ab5aa94ff3
commit
335dd842be
7 files changed
+21
-14
No files matched your search
@@ -197,14 +197,15 @@ import { onLoad } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { advanceApi, attachmentApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
ticketHeaderStatusToneClass,
|
||||
formatAmount,
|
||||
formatDateTime,
|
||||
formatApplyDateTime
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const detailId = ref('')
|
||||
const detail = ref(null)
|
||||
|
||||
@@ -131,13 +131,14 @@ import { onShow } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { advanceApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
workflowListStatusTagClass,
|
||||
formatAmount,
|
||||
formatApplyDate
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const tabs = [
|
||||
{ label: '全部', value: '' },
|
||||
|
||||
@@ -206,8 +206,6 @@ import { onShow } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { advanceApi, reimburseApi, expenseItemApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
ticketHeaderStatusToneClass,
|
||||
workflowListStatusTagClass,
|
||||
@@ -218,6 +216,9 @@ const safeAreaStyle = getSafeAreaStyle()
|
||||
normalizeExpenseItem,
|
||||
resolveExpenseDisplay
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const statusFilters = [
|
||||
{ label: '全部', value: '' },
|
||||
|
||||
@@ -247,8 +247,6 @@ import { onShow } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { advanceApi, reimburseApi, expenseItemApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
workflowListStatusTagClass,
|
||||
formatAmount,
|
||||
@@ -257,6 +255,9 @@ const safeAreaStyle = getSafeAreaStyle()
|
||||
normalizeExpenseItem,
|
||||
resolveExpenseDisplay
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const statusFilters = [
|
||||
{ label: '全部', value: '' },
|
||||
|
||||
@@ -261,12 +261,13 @@ import {
|
||||
invoiceApi
|
||||
} from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
normalizeExpenseItem,
|
||||
flattenExpenseTree,
|
||||
formatExpenseName
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const MAX_ATTACHMENTS = 10
|
||||
const userStore = useUserStore()
|
||||
|
||||
@@ -220,8 +220,6 @@ import { onLoad } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { reimburseApi, attachmentApi, expenseItemApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
ticketHeaderStatusToneClass,
|
||||
formatAmount,
|
||||
@@ -231,6 +229,9 @@ const safeAreaStyle = getSafeAreaStyle()
|
||||
flattenExpenseTree,
|
||||
resolveExpenseDisplay
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const detailId = ref('')
|
||||
const detail = ref(null)
|
||||
|
||||
@@ -146,8 +146,6 @@ import { onShow } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
import { reimburseApi, expenseItemApi } from '@/api/bx'
|
||||
import {
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
statusLabel,
|
||||
workflowListStatusTagClass,
|
||||
formatAmount,
|
||||
@@ -156,6 +154,9 @@ const safeAreaStyle = getSafeAreaStyle()
|
||||
flattenExpenseTree,
|
||||
resolveExpenseDisplay
|
||||
} from '@/utils/bxFormat'
|
||||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||||
|
||||
const safeAreaStyle = getSafeAreaStyle()
|
||||
|
||||
const tabs = [
|
||||
{ label: '全部', value: '' },
|
||||
|
||||
Reference in new issue
Block a user