Vue/ts: array push error

this is a vue file. I have a markers, in my data data initialized to an empty array [].
but once I do a this.markers.push operation in my method, I get a type check error. It"s the same everywhere else. Even push other, push (1) also reported an error. I really don"t know what to do with an array of push. I think he didn"t declare a type error during initialization. But I really don"t know how vue"s data declares types.
ask for answers

clipboard.png
@

let that:any

clipboard.png

Mar.23,2022
The this in the

foreach function points to a non-vue instance. You can use that outside the function to transfer


pois.forEach (() = > {}, this)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35c68-2b50a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35c68-2b50a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?