发送数据
uni.$emit("customer", {
id: id,
name: name,
mobile: mobile,
});
接收数据
uni.$on("customer", (customer) => {
that.cid = customer.id;
that.customer = customer.name;
that.c_mobile = customer.mobile;
that.required.cid = customer.id;
that.$forceUpdate();
});