"use strict";const e=require("../../../common/vendor.js"),r=require("../method.js"),o=require("../model.js");require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/libraries/apiLoading.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/day.js");const s=e.defineComponent({__name:"SwitchSelectBtn",setup(s){const t=e=>{var s,t,u;let i=(null==(t=null==(s=o.useModel)?void 0:s.listData)?void 0:t.value[e.detail.value])||{};console.log(i,"data"),o.useModel.currentHouse.value=i,2===(null==i?void 0:i.type)&&(null==(u=r.method)||u.getQrCode())};return(r,s)=>{var u,i;return{a:e.o(t),b:null==(i=null==(u=e.unref(o.useModel))?void 0:u.listData)?void 0:i.value}}}}),t=e._export_sfc(s,[["__scopeId","data-v-7d935ee6"]]);wx.createComponent(t);
