opendb-admin-menus.nWI8EMpJ.js 475 B

12
  1. const r={menu_id:{rules:[{required:!0},{format:"string"}]},name:{rules:[{required:!0},{format:"string"}]},icon:{rules:[{format:"string"}]},url:{rules:[{format:"string"},{validateFunction:function(r,e,t,n){return""!==e&&-1===e.indexOf("http")&&0!==e.indexOf("/")&&n("URL必须以/开头,如/pages/index/index"),!0}}]},sort:{rules:[{format:"int"}]},parent_id:{rules:[{format:"string"}]},permission:{rules:[{format:"array"}]},enable:{rules:[{format:"bool"}]}};export{r as v};