This commit is contained in:
shijingjing
2022-04-28 08:20:32 +08:00
parent 9f525bab46
commit d6f0c0f4a9
4 changed files with 421 additions and 49 deletions

View File

@@ -46,6 +46,7 @@ export default {
let {config, nodeKey} = this,
selected = this.value || this.selected?.map(e => e[nodeKey])
uni.$once('pagePicker:' + this.type, data => {
console.log('发送',data)
this.$emit("update:selected", data)
this.$emit("select", data)
this.$emit("change", data.map(e => e[nodeKey]))