You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
379 B
2 lines
379 B
11 months ago
|
import{$ as e,a2 as t}from"./index-4ddb689d.js";const a="dealer.setting/data",n=()=>new Promise(((t,n)=>{e.get(a).then((e=>{t(e.data.setting)}))})),s=(e=!1)=>new Promise(((a,s)=>{const i=t.get("Dealer-Setting");e&&i?a(i):n().then((e=>{(e=>{t.set("Dealer-Setting",e,1800)})(e),a(e)}))})),i={data:s,item:(e,t=!1)=>new Promise(((a,n)=>{s(t).then((t=>{a(t[e])}))}))};export{i as S};
|