Home > Net >  [vue video. The problem of js for help] SRC setup problem
[vue video. The problem of js for help] SRC setup problem

Time:09-18

[vue video. The problem of js for help] problems setting up the SRC
That set the SRC can play, but I want to dynamically change the value of the SRC, for example: click on the button, after playing the next video, about how to implement the==
` ` ` javascript


<script>
Eslint - disable/* */
Export the default {
Name: "TempTest,"
Data () {
Return {
VideoSrc: ", "
};
},
.

` ` `

I want to set a variable name to assign a value, but complains,==

` ` ` javascript


VideoSrc: "../assets/test1. Mp4
"
` ` `


CodePudding user response:



An error as above
  • Related