mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-24 03:58:10 +00:00
2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
import{a as e,_ as r}from"./u-form.ab08229f.js";import{B as l,C as t,b0 as s,i as o,j as a,w as i,F as m}from"./index-faf5e276.js";import{_ as u}from"./_plugin-vue_export-helper.1b428a4d.js";const d=u({name:"u--form",mixins:[l,e,t],components:{uvForm:r},created(){this.children=[]},methods:{setRules(e){this.$refs.uForm.setRules(e)},validate(){return this.$refs.uForm.validate()},validateField(e,r){return this.$refs.uForm.validateField(e,r)},resetFields(){return this.$refs.uForm.resetFields()},clearValidate(e){return this.$refs.uForm.clearValidate(e)},setMpData(){this.$refs.uForm.children=this.children}}},[["render",function(e,r,l,t,u,d){const n=s("uvForm");return o(),a(n,{ref:"uForm",model:e.model,rules:e.rules,errorType:e.errorType,borderBottom:e.borderBottom,labelPosition:e.labelPosition,labelWidth:e.labelWidth,labelAlign:e.labelAlign,labelStyle:e.labelStyle,customStyle:e.customStyle},{default:i((()=>[m(e.$slots,"default")])),_:3},8,["model","rules","errorType","borderBottom","labelPosition","labelWidth","labelAlign","labelStyle","customStyle"])}]]);export{d as _};
|