import{B as c,a4 as a,aY as i}from"./index.7a111e62.js";function f({callback:t,failStatus:s}){const e=c(null),r=a({status:"",remark:""}),u=a({status:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001"}],remark:[{required:!0,trigger:"change",message:"\u8BF7\u8F93\u5165\u5907\u6CE8"}]}),n=()=>e.value.validate(o=>o&&t());return i(()=>u.remark[0].required=r.status===s),{formRef:e,formRules:u,formData:r,handleChangeStatus:n}}export{f as u};
