Revert "Select: set value to null when cleared (#14322) (#14650)" (#15447)

This commit is contained in:
iamkun
2019-05-24 14:59:15 +08:00
committed by luckyCao
parent 855062423c
commit 66762ffa23
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ describe('Select', () => {
const iconClear = vm.$el.querySelector('.el-input__icon.el-icon-circle-close');
expect(iconClear).to.exist;
iconClear.click();
expect(vm.value).to.equal(null);
expect(vm.value).to.equal('');
done();
}, 100);
});