javascript - Why does the input box input nothing but the value is undefined? ?
代言
代言 2017-07-05 10:55:29
0
3
703

代言
代言

reply all(3)
为情所困

You have two-way binding and you have not input anything. Then your printSingle.szLat is undefined.

If you need an empty string for "", you can initialize it

世界只因有你
data () {
  return {
    printSingle: {
      szLat: ''
    }
  }
}
漂亮男人

The variable is defined, but when there is no value, the value is undefined

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template