跳转前先清除对应的监听器
This commit is contained in:
@@ -56,6 +56,7 @@ export default {
|
|||||||
handleJump() {
|
handleJump() {
|
||||||
let {config, nodeKey, valueObj, isRequire, isShowPhone} = this,
|
let {config, nodeKey, valueObj, isRequire, isShowPhone} = this,
|
||||||
selected = (valueObj ? this.value[nodeKey] : this.value) || this.selected?.map(e => e[nodeKey])
|
selected = (valueObj ? this.value[nodeKey] : this.value) || this.selected?.map(e => e[nodeKey])
|
||||||
|
uni.$off('pagePicker:' + this.type)
|
||||||
uni.$once('pagePicker:' + this.type, data => {
|
uni.$once('pagePicker:' + this.type, data => {
|
||||||
console.log('发送', data)
|
console.log('发送', data)
|
||||||
this.pickList = data
|
this.pickList = data
|
||||||
|
|||||||
Reference in New Issue
Block a user