inleft
2022-08-23 eeef9f3413151bea79690aac4abb737aff0cb6c8
src/components/mini/box-17-linkAdd.vue
@@ -19,6 +19,7 @@
               </a-select-option>
            </a-select>
         </a-form-model-item>
         <a-form-model-item label="avatar" prop="avatar">
            <a-input v-model="form.avatar" placeholder="链接图片地址" />
@@ -53,7 +54,7 @@
               url: '',
               avatar: '',
               remark: '',
               linkType: '',
               linkType: undefined,
               topValue: 50,
               isNewWindowOpen: 1
            },
@@ -90,8 +91,8 @@
                  },
                  {
                     trigger: 'blur',
                     pattern: /^((https|http)?:\/\/)[^\s]+/,
                     message: '仅支持 https | http'
                     pattern: /^((https|http)?:\/\/)+/,
                     message: '仅支持 https:// | http://'
                  }
               ],
               linkType: [{
@@ -103,8 +104,8 @@
                  required: false,
               }, {
                  trigger: 'blur',
                  pattern: /^((https|http)?:\/\/)[^\s]+/,
                  message: '仅支持 https | http'
                  pattern: /^((https|http)?:\/\/)+/,
                  message: '仅支持 https:// | http://'
               }],
            }