Received project requirements, while viewing the custom form in the map of gold, need to click to view the show contact phone number, three minutes to look again at the custom form information displayed a contact phone number directly, beyond the time you need to click again to show a mobile phone number, because there are a more marked in the map, each marked point view respectively timing is essential in the contact phone number for three minutes, in the frame of the vue, how to do?
CodePudding user response:
Click on save a click on time, and the current id, click again to find the id minus the current time
CodePudding user response:
Existing in store, use the map storage, the key for the marker id, the value of the stored objects for you (include time, phone number, etc.), click on the read the map, if not empty, any judgment time to display the mobile phone number