[Vue] 6 - Options - filters, computed, watch, template, dynamic binding style (: class /: style)

Article directory 1.filters 2. Calculated calculation attribute 3. watch 4.template 5. Dynamic binding style : class = "object / array" : style = "object / array" 1.filters If there are two vue instances, one instance cannot get the method in the other instance. As follows ...

Posted by roxki on Tue, 11 Feb 2020 12:16:57 +0100

The problem of using Baidu echo chart in vue

In the project, we need to show the success rate of the test through the dashboard of Baidu echarts. We encapsulate a gauge vue component. When we show it, we find that the size is wrong, and the whole image is limited to a very short range, as shown in the following figure: The component files are as follows: <template& ...

Posted by smileyriley21 on Sun, 09 Feb 2020 19:39:07 +0100

[vue] learning note 8: vue resource implements get, post and JSON requests

Vue resource plug-in open source address https://github.com/pagekit/vue-resource ps: in addition to Vue resource, the third-party package of axios can also be used to implement data request In the previous study, how to initiate data request? Common data request types? get post jsonp Implementati ...

Posted by SpaceLincoln on Sun, 02 Feb 2020 11:32:20 +0100

Summary of MUI image with text rotation, pull-up loading more display, no more information, rich text content display, etc

1, Picture rotation with text (floating Title below) For details, please refer to the code in helloMUI, mainly adding a p tag under the picture and class' Mui slider title '. Remember to change the sliding dot class to Mui text right <div id="slider" class="mui-slider"> <div class="mui-slider-group mui-slider-loo ...

Posted by srinivas6203 on Sat, 01 Feb 2020 02:16:49 +0100

About js confusion

Last year, I opened a js obfuscation tool and a js obfuscation restore tool according to the second open source tool. Today, I will talk about the general principle of this obfuscation tool and what I will do next. At present, the obfuscation result of this obfuscation tool is barely, and the following is before and after obfuscation //Before c ...

Posted by daniel_lee_hill on Fri, 31 Jan 2020 20:20:16 +0100

VueJS ---- v-bind

v-bind v-bind deals with tag attributes in html. For example, < div > < div > is a tag, < img > is also a tag, For example, bind an src to an Img tag html: <div id="app"> <img v-bind:src="imgSrc" width="200px"> </div> js: Add imgSrc attribute in data for html to call var app=n ...

Posted by legio on Fri, 31 Jan 2020 19:47:49 +0100

Vue+mavonEditor+spring Boot image upload and echo

1. Preface Recently, we are using vue and springboot to develop a project, which has a function of using markdown editor to write articles. In it, images will be uploaded. At the beginning, the images can't be displayed. However, by looking at all kinds of data, we have finally made it. Now I'll talk ...

Posted by fordiman on Fri, 31 Jan 2020 06:15:04 +0100

vue+node+mysql to display data in pages

Why do we use paging display data? If we request all the data from the server at one time, the large amount of data will block the server and improve the performance. Therefore, we need to use paging display data. When we use the data of the current page of the table, we can send a request for the corre ...

Posted by dineshthakur on Mon, 20 Jan 2020 18:33:18 +0100

Front end cross domain problem solving process record I used

First of all, I'm lazy. I haven't recorded my work for a long time. I hope I don't forget my original intention. Recently, I have such a demand. We are equipment software companies. Therefore, one of the functions is to modify the IP and port of our own management interface. After the modification, ...

Posted by aconite on Sun, 19 Jan 2020 05:00:43 +0100

Introduction of axios in Vue project

axios introduction axios official website : easy to use, concise and efficient http library. axios official website The core of axios is a promise based HTTP library, which can be used in browsers and node.js. Characteristics of axios Create XMLHttpRequests from the browser Create http request fro ...

Posted by Imad on Sat, 18 Jan 2020 17:44:33 +0100