fix: 路径错误

(cherry picked from commit e30d5559e6)
This commit is contained in:
xingyu 2023-08-23 10:40:03 +08:00 committed by shizhong
parent 6b2064d979
commit d327d28755
2 changed files with 4 additions and 7 deletions

View File

@ -111,7 +111,7 @@
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import * as RecordApi from '@/api//member/point/record'
import * as RecordApi from '@/api/member/point/record'
defineOptions({ name: 'PointRecord' })

View File

@ -99,14 +99,14 @@
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { dateFormatter } from '@/utils/formatTime'
import * as RecordApi from '@/api//member/point/record'
import * as RecordApi from '@/api/member/point/record'
import { RecordQueryVO } from '@/api/member/point/record'
defineOptions({ name: 'PointList' })
const loading = ref(true) //
const total = ref(0) //
const list = ref([]) //
const queryParams = reactive({
const queryParams = reactive<RecordQueryVO>({
pageNo: 1,
pageSize: 10,
bizType: undefined,
@ -139,15 +139,12 @@ const resetQuery = () => {
queryFormRef.value.resetFields()
handleQuery()
}
// TODO @: userId
const { memberId } = defineProps({
memberId: {
type: Number,
required: true
}
})
/** 初始化 **/
onMounted(() => {
queryParams.userId = memberId