| | |
| | | } |
| | | } |
| | | if(basic.value.basicType[1]==="icon"){ |
| | | const regex = /^(?:\d+|\d+\.\d)$/ |
| | | if (!regex.test(iconWidth.value)||!regex.test(iconHeight.value) ) { |
| | | ElMessage.warning(t('basicData.msg.greater0Sec1')) |
| | | return |
| | | } |
| | | let nickname=basic.value.nickname |
| | | let data={ |
| | | width: iconWidth.value, |
| | |
| | | } |
| | | } |
| | | if(basic.value.basicType[1]==="icon"){ |
| | | const regex = /^(?:\d+|\d+\.\d)$/ |
| | | if (!regex.test(iconWidth.value)||!regex.test(iconHeight.value) ) { |
| | | ElMessage.warning(t('basicData.msg.greater0Sec1')) |
| | | return |
| | | } |
| | | let nickname=basic.value.nickname |
| | | let data={ |
| | | width: iconWidth.value, |