| | |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | |
| | | |
| | | <a-form-model-item label="avatar" prop="avatar"> |
| | | <a-input v-model="form.avatar" placeholder="链接图片地址" /> |
| | |
| | | url: '', |
| | | avatar: '', |
| | | remark: '', |
| | | linkType: '', |
| | | linkType: undefined, |
| | | topValue: 50, |
| | | isNewWindowOpen: 1 |
| | | }, |
| | |
| | | }, |
| | | { |
| | | trigger: 'blur', |
| | | pattern: /^((https|http)?:\/\/)[^\s]+/, |
| | | message: '仅支持 https | http' |
| | | pattern: /^((https|http)?:\/\/)+/, |
| | | message: '仅支持 https:// | http://' |
| | | } |
| | | ], |
| | | linkType: [{ |
| | |
| | | required: false, |
| | | }, { |
| | | trigger: 'blur', |
| | | pattern: /^((https|http)?:\/\/)[^\s]+/, |
| | | message: '仅支持 https | http' |
| | | pattern: /^((https|http)?:\/\/)+/, |
| | | message: '仅支持 https:// | http://' |
| | | }], |
| | | |
| | | } |