Click on the marker of Baidu Map to play the pop-up window component written by yourself. The component cannot be hidden and displayed using v-show.

in the vue project, I wrote a pop-up window component because the pop-up window style could not be changed. By clicking marker to show and hide it, I wanted to directly use v-show to show and hide, but to no avail. I think it"s because there is something wrong with the click event of marker, so please have a look.

clipboard.png

clipboard.png

clipboard.png

Mar.23,2021

think for yourself whether this points to right.


to fill in the hole
at that time, the code this pointed incorrectly
and had problems understanding vue

.
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-7bfd61-16230.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-7bfd61-16230.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?