2 lines
451 B
JavaScript
2 lines
451 B
JavaScript
import{J as t,K as e}from"./index-a09151d6.js";const n=["pages/index/index","pages/appointment/appointment-page","pages/me/me-page"],a=a=>{if(a&&a.$t&&(()=>{const t=e();if(0===t.length)return!1;const a=t[t.length-1].route||"";return n.includes(a)})())try{t({index:0,text:a.$t("tabbar.home")}),t({index:1,text:a.$t("tabbar.appointment")}),t({index:2,text:a.$t("tabbar.me")})}catch(r){console.error("更新 TabBar 国际化失败:",r)}};export{a as u};
|