vue-typescript-dpapp-demo icon indicating copy to clipboard operation
vue-typescript-dpapp-demo copied to clipboard

ts编译报错:Property 'setSearchVal' has no initializer and is not definitely assigned in the constructor.

Open cathy1024 opened this issue 5 years ago • 0 comments

问题描述: TS2564: Property 'setSearchVal' has no initializer and is not definitely assigned in the constructor.

解决方法:修改tsconfig.json,compilerOptions下面加上"strictPropertyInitialization": false

cathy1024 avatar Aug 22 '19 06:08 cathy1024