iview-form 可输入下拉框

请添加图片描述

{
    
    
  title: "登录地址:",
  type: "select",
  key: "login_url",
  rule: {
    
     required: true, message: "请输入登录地址", trigger: "blur" },
  props: {
    
    
    maxlength: 255,
    placeholder: "请输入登录地址",
    filterable: true, //和'allow-create': true;同时存在
    "allow-create": true // '' 和 "" 不能混用
  },
  options: [
	  {
    
    
	    value:'https://hhy.xatasoft.com/serv/user/Login/in',text:'https://hhy.xatasoft.com/serv/user/Login/in'
	    }
    ],
},

猜你喜欢

转载自blog.csdn.net/qq_43780814/article/details/121341138
今日推荐