关于input ,value赋值不存在时因作空处理

185 阅读1分钟

    //defaultValue ={dmzaddr} 只会渲染一次,不符合需求
-   value ={dmzaddr}
+   value ={dmzaddr||""}