2 lines
353 B
JavaScript
2 lines
353 B
JavaScript
import{aT as s,U as t,V as a}from"./index_1730355987.js";const p=s("props",{state:()=>({propsData:[]}),actions:{setPropsData(s){t.getStorage(a.PROPS_DATA)&&(this.propsData=JSON.parse(t.getStorage(a.PROPS_DATA)||"")),this.propsData.find((t=>t._id===s._id))||this.propsData.push(s),t.setStorage(a.PROPS_DATA,JSON.stringify(this.propsData))}}});export{p};
|