|
@@ -86,9 +86,7 @@ export default function () {
|
|
|
const cookieInfo = document.cookie.split('; ')
|
|
|
cooperateCode.value = cookieInfo.some(item => item.indexOf('channelCode') > -1)
|
|
|
onMounted(() => {
|
|
|
- that.$nextTick(function() {
|
|
|
- window.addEventListener('scroll', watchScroll)
|
|
|
- })
|
|
|
+ window.addEventListener('scroll', watchScroll)
|
|
|
})
|
|
|
|
|
|
// 物业专版
|
|
@@ -165,13 +163,6 @@ export default function () {
|
|
|
getFormatAPIParams: getFormatOfFilter,
|
|
|
updateFilterBase
|
|
|
} = useSearchFilterModel({ inBIPropertyIframe, isFree, isInApp, isBidField })
|
|
|
- /**
|
|
|
- * 搜索前校验
|
|
|
- */
|
|
|
- const {
|
|
|
- onTheWhiteList,
|
|
|
- checkAndClearTextIncludesCommonWords
|
|
|
- } = beforeSearchModel({ inputKeywordsState })
|
|
|
/**
|
|
|
* 列表头操作
|
|
|
*/
|
|
@@ -188,6 +179,19 @@ export default function () {
|
|
|
updateInputKeywordsState(obj)
|
|
|
})
|
|
|
|
|
|
+ /**
|
|
|
+ * 搜索前校验
|
|
|
+ */
|
|
|
+ const {
|
|
|
+ getWhiteList,
|
|
|
+ onTheWhiteList,
|
|
|
+ checkAndClearTextIncludesCommonWords
|
|
|
+ } = beforeSearchModel({ inputKeywordsState })
|
|
|
+
|
|
|
+ onMounted(async () => {
|
|
|
+ await getWhiteList()
|
|
|
+ })
|
|
|
+
|
|
|
/**
|
|
|
* 页面tab切换Model
|
|
|
*/
|
|
@@ -1479,6 +1483,7 @@ export default function () {
|
|
|
getLastFilter,
|
|
|
toggleBlurModeTip,
|
|
|
doToggleSearchBlurMode,
|
|
|
- recommendCardCircleModel
|
|
|
+ recommendCardCircleModel,
|
|
|
+ getWhiteList
|
|
|
}
|
|
|
}
|