@tplc/business 0.5.21 → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@
106
106
  <view
107
107
  class="fixed left-0 w-full z-2 bg-white"
108
108
  :style="{ height: height, top: top }"
109
- v-if="form?.keywords && productTypeList && top"
109
+ v-if="form?.keywords && productTypeList?.length && top"
110
110
  >
111
111
  <lcb-search-list
112
112
  :productTypeList="productTypeList"
@@ -233,7 +233,7 @@ const onSelect = (keyword: ProductInfo) => {
233
233
  }
234
234
  })
235
235
  queryParams.keywords = params.keywords
236
- if (!options.jumpPageType) {
236
+ if (!options.jumpPageType && !queryParams.jumpPageType) {
237
237
  uni.$emit(`${getPreviousPageId()}_filter_change`, queryParams)
238
238
  uni.navigateBack()
239
239
  } else {
@@ -246,7 +246,7 @@ const onCancel = () => {
246
246
  uni.navigateBack()
247
247
  }
248
248
  watchEffect(() => {
249
- popupProvide.value = form.value?.keywords && props.productTypeList && top
249
+ popupProvide.value = form.value?.keywords && props.productTypeList?.length && top
250
250
  })
251
251
  const onClear = () => {
252
252
  form.value.keywords = ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.21",
3
+ "version": "0.5.26",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],