沙钢智慧能源系统前端代码
houzhongjian
2024-10-09 314507f8ddadd9c66e98d260c3b2a5dad1a04015
提交 | 用户 | 时间
314507 1 import{d as o,u as n,a as d,o as i,c as u}from"./index-BP6bNRoi.js";const y=o({name:"Redirect",__name:"Redirect",setup(m){const{currentRoute:p,replace:s}=n(),{params:e,query:a}=d(p),{path:r,_redirect_type:c="path"}=e;Reflect.deleteProperty(e,"_redirect_type"),Reflect.deleteProperty(e,"path");const t=Array.isArray(r)?r.join("/"):r;return s(c==="name"?{name:t,query:a,params:e}:{path:t.startsWith("/")?t:"/"+t,query:a}),(l,_)=>(i(),u("div"))}});export{y as default};