← Back
Editing: index401.js
import{a6 as s,K as t,a7 as e,W as r}from"./utils-lib.js?v=VERSION_NUMBER";import{_ as a}from"./index103.js?v=VERSION_NUMBER";import{s as o,c as i,q as l,v as m,e as n,A as c,y as d,x as p}from"./base-lib.js?v=VERSION_NUMBER";import{n as u,o as f}from"./useMethod5.js?v=VERSION_NUMBER";import{u as h}from"./useController5.js?v=VERSION_NUMBER";import{u as j}from"./column.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";import"./validator.js?v=VERSION_NUMBER";import"./index104.js?v=VERSION_NUMBER";import"./site.js?v=VERSION_NUMBER";import"./useStore4.js?v=VERSION_NUMBER";import"./useController6.js?v=VERSION_NUMBER";o(h());const x={class:"p-[2rem]"},g=i({__name:"index",setup(i){const{isRefreshMigrateSiteList:g}=o(h()),{BtTable:B,BtPage:_,BtRecommendSearch:b,BtRefresh:y,BtColumn:v,BtBatch:C,BtTableCategory:W,BtErrorMask:P,tableRef:w,classList:R,refresh:q,config:M}=s({request:s=>(async()=>{try{const{data:{msg:s}}=await u();return{data:s,total:0}}catch(s){return{data:[],total:0}}})(),columns:[{label:"网站名",minWidth:180,isCustom:!0,prop:"name"},j([{title:"迁移站点",width:100,onClick:s=>{t({loading:"迁移中,请稍候...",message:!0,request:f({site_id:s.id}),success:s=>{s.status&&(g.value=!0)}})}}])],extension:[e(g)]});return(s,t)=>{const e=a,o=r;return l(),m("div",x,[n(e,null,{"header-left":c((()=>t[0]||(t[0]=[d("div",{class:"flex flex-col"},[d("div",{class:"text-[#777]"},"* 迁移后无法将WordPress网站恢复到网站")],-1)]))),"header-right":c((()=>[n(p(b),{type:"remote-wp",placeholder:"请输入域名",class:"!w-[270px] mr-[10px]"})])),content:c((()=>[n(p(B),{"min-height":200})])),_:1}),n(o,{options:[{content:"迁移后,您将能够在WP工具包中管理WordPress网站,但是您将无法继续在网站中管理WordPress网站!"}],style:{"list-style":"disc"}})])}}});export{g as default};
Save File
Cancel