-
How to add components dynamically by vue
requirements are as follows: click the addFisrt button to add the content of the first component, click addSecond to dynamically add the content of the second component and can add without limit ~ ask the great gods to provide ideas and methods ~ thank ...
-
Introducing public methods into Vue to display undefined
write a public method to be introduced in the module in js, but the browser says it s not defined is what I m missing?
...
-
How to change the data of data in vue
var app3 = new Vue ({
el: -sharpitem ,
data:{
item_data:[
],
},
computed:{
},
methods: {
}
});
I want to change the item_data of vue when I click. This is the data. If it can be printed, it is rendered on the page. goods_box is li...
-
What is the problem that the main.js of the vue project packaged with webpack is too large?
using the vue project packaged with webpack, the main.js in the dist directory has a large number of base64 characters.
what is the cause of this?
...
-
What is the problem of check-box radio selection for iview components?
When the project uses tree to display information, sometimes the user needs to select only one value, that is, radio selection.
the ui framework of iview is used in the project. If I only have to select a single node, checkbox can only choose one e...
-
Vue judges class of dom
vue Click to add class to dom and then get the dom with class < div class= "chose-ck " VMI for = "(item,index2) in colors ": key= "index2 " ref= "chosebox " >
{{item.name}}
&l...
-
Vue destroys the page cards with a large amount of data.
the current project uses vue and element to do, and finds a problem. After entering the current page, it will request an interface with 3000 + pieces of interface data, and then send the data to element-ui to render the select, (page rendering will not ...
-
After returning with the scrollintoview page, you can't restore the previous position, but go back to the top.
as shown in the figure, after clicking to continue for consultation, you will return to the previous page (mostly with scrollbars). The desired effect is to return to the bottom of the previous page (as shown in figure 2). The current problem is: ...
-
Can the same component be reused in vue by binding different data sources?
now there is a list page, and the list is searchable, and the results are displayed after the search. Because except for the data source, the search result page and the list page are exactly the same, so can you reuse the same component by binding diffe...
-
Initialization with better-scroll in vue is successful, but there is no response.
paste the structure code: hasVerticalScroll has a value for true,scrollerHeight, if I set overflow-y:auto; for class menu-wrapper and foods-wrapper The style is also completely fine, and the print better-scroll initialization is also fine. add: I found...
-
How does the front end compress the video file before uploading?
has recently done a vue project-video upload function. requirements goes like this: when the user opens the page, there will be a button to turn on the camera. When the user clicks the button, the mobile camera will be turned on to take pictures of t...
-
How to shell the vue project to make mobile phone software?
after the project has been written, how to make the software supported by Android iOS? ...
-
Vue's animated transition doesn't work.
< script src= ".. vue.js " > < script >
<title>Document< title>
<style>
.fade-enter{
opacity: 1;
}
.fade-enter-active{
transition: opacity 3s;
}
< style>
< head > < body >
<div id=&qu...
-
There are two < input > input boxes in the vue custom component. How can I bind them using v-model?
I have defined two < input > input boxes in Vue component. I want to bind the value of these two input boxes to the parent component with v-model, but I have only found a way to bind one. What should I do if I bind two each?
the following code changes...
-
How does JS perform a real-time animated movement (Didi Taxi's kind)
how can JS or vue implement a real-time animated mobile function similar to that of Didi Taxi? Now I don t have any ideas at all. I beg for the popularization of science! ...
-
Has anyone ever used the plug-in vue-orgchart or jq's orgchart? How do I add a click event to a node?
plugin address: https: spiritree.github.io v.github address: https: github.com spiritree .
how do I display the picture on the node? How to implement click events on nodes?
...
-
I found a print plug-in on the Internet and found that there was a problem according to the example. I don't know what's wrong.
problem description
the plug-in found on the Internet is called print-js, and then keeps reporting errors according to the example, (0, _ printJs2.default) is not a function
the environmental background of the problems and what methods you have trie...
-
How does the APP developed by vue embed an external web page, just like Wechat has the same effect as opening an external web page?
currently developing APP, with VUE wants to achieve the effect of Wechat opening external links as shown in the picture (APP embedded with external web pages). Before, I have tried to find a lot of BUG after iframe publishes APP on IOS ....
-
About the use of render in Vue
the use of iview, in which I want to register the component with a upload upload button, but with the render function, I can t write. I haven t written it after trying for a long time. Boss, take a look at it .
{
align: center ,
title: ,
render...
-
A problem encountered in converting pictures to base64?
<input type="file" @change="getFile($event)">
getFile:function(e){
var base64 = ;
let file = e.target.files[0];
let reader = new FileReader();
reader.readAsDataURL(file);
reader.onload = function (e) {
...