|
@@ -79,7 +79,7 @@ export default function () {
|
|
// 获取搜索历史业务数据模型
|
|
// 获取搜索历史业务数据模型
|
|
const searchHistoryModel = useSearchHistoryModel({ type: 1 })
|
|
const searchHistoryModel = useSearchHistoryModel({ type: 1 })
|
|
const { getHistoryQuery, clearHistoryQuery, searchHistoryList } = searchHistoryModel
|
|
const { getHistoryQuery, clearHistoryQuery, searchHistoryList } = searchHistoryModel
|
|
-
|
|
|
|
|
|
+
|
|
// 标讯搜索历史列表
|
|
// 标讯搜索历史列表
|
|
const bidHistoryList = computed(() => {
|
|
const bidHistoryList = computed(() => {
|
|
return searchHistoryList.value
|
|
return searchHistoryList.value
|
|
@@ -87,12 +87,12 @@ export default function () {
|
|
|
|
|
|
// 跨组件通信 将历史搜索列表数据注入 在SearchHeader子组件中引用
|
|
// 跨组件通信 将历史搜索列表数据注入 在SearchHeader子组件中引用
|
|
provide('searchHistoryList', bidHistoryList)
|
|
provide('searchHistoryList', bidHistoryList)
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
// 是否在工作台内
|
|
// 是否在工作台内
|
|
// 本地调试,可改为工作台内isInApp = ref(true), isInWeb = ref(false) 提交记得改回!
|
|
// 本地调试,可改为工作台内isInApp = ref(true), isInWeb = ref(false) 提交记得改回!
|
|
- const isInApp = ref(InContainer.inApp) // InContainer.inApp
|
|
|
|
- const isInWeb = ref(InContainer.inWeb) // InContainer.inWeb
|
|
|
|
|
|
+ const isInApp = ref(true) || ref(InContainer.inApp) // InContainer.inApp
|
|
|
|
+ const isInWeb = ref(false) || ref(InContainer.inWeb) // InContainer.inWeb
|
|
|
|
|
|
// 是否是渠道商
|
|
// 是否是渠道商
|
|
const cooperateCode = ref(false)
|
|
const cooperateCode = ref(false)
|