@zscreate/zhxy-app-component 1.0.264 → 1.0.266
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.
|
@@ -826,7 +826,6 @@ export default {
|
|
|
826
826
|
},
|
|
827
827
|
methods: {
|
|
828
828
|
handleClear() {
|
|
829
|
-
debugger
|
|
830
829
|
this.dataModel = []
|
|
831
830
|
this.dataModelShow = ''
|
|
832
831
|
},
|
|
@@ -1627,6 +1626,15 @@ export default {
|
|
|
1627
1626
|
var PubsubSign = String(Math.random()).split('.')[1];
|
|
1628
1627
|
Pubsub.subscribe(PubsubSign, (msg, data) => {
|
|
1629
1628
|
console.log(data)
|
|
1629
|
+
this.widget.options?.linkage?.forEach(link_model => {
|
|
1630
|
+
uni.$emit(link_model)
|
|
1631
|
+
const link_widget = this.dataObj().list.find(item => item.model === link_model)
|
|
1632
|
+
if (link_widget) {
|
|
1633
|
+
link_widget.options?.linkage?.forEach(link_model => {
|
|
1634
|
+
uni.$emit(link_model)
|
|
1635
|
+
})
|
|
1636
|
+
}
|
|
1637
|
+
})
|
|
1630
1638
|
this.isClickByUser = true
|
|
1631
1639
|
// this.dataModel = data.map(item => item.value)
|
|
1632
1640
|
const value = data.map(item => item.value) || []
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
141
141
|
<template>
|
|
142
142
|
<view @click="click()" style="min-height: 40rpx; width: 100%">
|
|
143
143
|
<view class="option-font-size">{{ dataModelStr || widget.options.placeholder }} </view>
|
|
144
|
-
<lb-picker-v2 mode="multiSelector" @change="change" v-model="dataModel" :level="5" style="width: 100%" :list="list" ref="lb_picker_v2">
|
|
144
|
+
<lb-picker-v2 :press-time="50" :press-enable="true" mode="multiSelector" @change="change" v-model="dataModel" :level="5" style="width: 100%" :list="list" ref="lb_picker_v2">
|
|
145
145
|
</lb-picker-v2>
|
|
146
146
|
</view>
|
|
147
147
|
|