bl-common-vue3 3.8.77 → 3.8.78

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bl-common-vue3",
3
- "version": "3.8.77",
3
+ "version": "3.8.78",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "description": "bailing vue3 common components lib",
@@ -397,6 +397,12 @@ export default defineComponent({
397
397
  isVisit:{
398
398
  type: Boolean,
399
399
  default: false
400
+ },
401
+ roomParams: {
402
+ type: Object,
403
+ default: () => {
404
+ return {};
405
+ },
400
406
  }
401
407
  },
402
408
  setup(props, { emit }) {
@@ -1611,6 +1617,7 @@ export default defineComponent({
1611
1617
  let paramsObj = {
1612
1618
  village_id: layOrBuild.extra.village_id,
1613
1619
  layer_id: layOrBuild.id,
1620
+ ...props.roomParams,
1614
1621
  };
1615
1622
  if (noLayer.value) {
1616
1623
  delete paramsObj.layer_id;
@@ -1737,6 +1744,7 @@ export default defineComponent({
1737
1744
  layer_id: room?.extra?.layer_id,
1738
1745
  parent_room_id: room.id,
1739
1746
  build_id: room?.extra?.build_id,
1747
+ ...props.roomParams,
1740
1748
  };
1741
1749
  if (props.roomType?.length) {
1742
1750
  paramsObj.room_type = props.roomType.join(',');