test: should not emit deprecation warning in test (#7356)

This commit is contained in:
neverland
2020-10-18 19:54:39 +08:00
committed by GitHub
parent 1b97315b54
commit 22888a7e97
20 changed files with 50 additions and 78 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default createComponent({
const { value, accordion } = this.parent;
if (
process.env.NODE_ENV !== 'production' &&
process.env.NODE_ENV === 'development' &&
!accordion &&
!Array.isArray(value)
) {