2 lines
423 B
JavaScript
2 lines
423 B
JavaScript
"use strict";const e=require("../common/vendor.js"),t=require("../store/routers.js"),r={__name:"Tabbar",setup(r){const n=t.useRoutersStore();return(t,r)=>({a:e.f(e.unref(n).tabList,((t,r,s)=>({a:e.unref(n).selected===r?t.selectedIconPath:t.iconPath,b:e.t(t.text),c:r,d:e.unref(n).selected===r?1:"",e:e.o((r=>function(t){n.setCurrentTab(t.pagePath),e.index.switchTab({url:t.pagePath})}(t)),r)})))})}};wx.createComponent(r);
|