Typescript Type 'number' is not assignable to type 'string' // Argument of type 'HTMLInputElement' is not assignable to parameter of type 'string'

后端 未结 0 424
一生所求
一生所求 2021-01-21 23:05
function Sum() {
    var Number1 = 0, Number2 = 0, sum = 0;
    var input: HTMLInputElement;
    input = document.getElementById("txtNumber1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题