angular项目里面,想给定义好的数据接口设置一个为空的初始值用于获取input框输入的内容,但提示null不能分配给string类型,请问该如何解决
遇事不决用any
comCode:string='' author:string=''