test: error 'value' is assigned a value but never used

This commit is contained in:
Wang Chenguang 2019-09-27 14:30:21 +08:00
parent b3d1fe2855
commit 8900570c5b

View file

@ -490,7 +490,6 @@
},
validateOption({children, elm, propsData}){
const value = propsData.value;
const label = propsData.label || '';
const textContent = (elm && elm.textContent) || (children || []).reduce((str, node) => {
const nodeText = node.elm ? node.elm.textContent : node.text;