fix:更新优化
This commit is contained in:
parent
84077c1b4c
commit
768fc88fca
@ -1,5 +1,5 @@
|
|||||||
NODE_ENV= development
|
NODE_ENV= development
|
||||||
# VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
|
VITE_HTTP_BASE_URL = http://10.39.13.78:8002/api/
|
||||||
VITE_HTTP_BASE_URL = http://test-weapp-api.linyikj.com.cn/api/
|
# VITE_HTTP_BASE_URL = http://test-weapp-api.linyikj.com.cn/api/
|
||||||
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
|
# VITE_HTTP_BASE_URL = https://weapp-api.linyikj.com.cn/api/
|
||||||
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
VITE_ACCESS_TOKEN_KEY= 'ACCESS_TOKEN_CUSTOMER'
|
||||||
@ -43,7 +43,7 @@ const emit = defineEmits(['change'])
|
|||||||
const tabList = ref<any>([])
|
const tabList = ref<any>([])
|
||||||
const list = ref([])
|
const list = ref([])
|
||||||
const current = ref('PropertyExclusive')
|
const current = ref('PropertyExclusive')
|
||||||
const props = defineProps(['data'])
|
const props = defineProps(['data','visible'])
|
||||||
const handleSwitchType = (type: string) => {
|
const handleSwitchType = (type: string) => {
|
||||||
current.value = type
|
current.value = type
|
||||||
emit('change', type)
|
emit('change', type)
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
<cc-scroll-loading :meta="metaData" @load="handleLoadMore">
|
<cc-scroll-loading :meta="metaData" @load="handleLoadMore">
|
||||||
<MyEventList v-if="eventList?.length && current === 0" :data="eventList" />
|
<MyEventList v-if="eventList?.length && current === 0" :data="eventList" />
|
||||||
<MyConvenienceServices
|
<MyConvenienceServices
|
||||||
v-if="convenienceServices?.length && current === 1 || !eventList?.length && current === 0"
|
v-if="current === 1"
|
||||||
:data="convenienceServices"
|
:data="convenienceServices"
|
||||||
@change="getConvenienceServices"
|
@change="getConvenienceServices"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user