How can I interact with shared panel by vue.js?

what i want is embed with panel by iframe, and send some query to grafana to get sorted data,
but i need a smooth way to get this change!!!
How can i do ?
I search for several days, only found some solution with Angular or React,but vue…

If just change the iframe attrabute ‘src’,it will cause iframe to reload grafana panel.
This experience not so good.so i want to interact by JS.
If anybody found the solution,please tell me !!!
thank u very very very much