axios Network Interaction Application-Vue

Author| Jeskson Source|Dada Front End Bistro <template> <div id="app"> <input type="text" placeholder="name" v-model="user.name"> <input type="text" placeholder="age" v-model="user.age"> <button type="button" class="btn" @click="btn.clickcallback"> {{btn.text}} </button> <table class="table"> ...

Posted by kumarsatishn on Mon, 23 Dec 2019 18:53:38 -0800

Zabbix4.0 Pins, Mail, WeChat Alarm

1. zabbix Mail Alarm SettingsPrinciple: After breaking the alarm, you can configure corresponding actions, in which you can send mail, WeChat, pins, text messages, etc.Place the alert script in Configuration/usr/local/zabbix/etc/zabbix_server.conf LogFile=/usr/local/zabbix/zabbix_server.log DBHost=127.0.0.1 DBName=zabbix DBUser=zabbix DBPassw ...

Posted by newbiez on Mon, 23 Dec 2019 13:09:36 -0800

Login page under SSM framework, picture verification code, password encryption and comparison database data (2)

The code of the Controller on the login page is as follows: In this process, it is necessary to judge whether the user name exists or not? Is the password incorrect? Is the verification code incorrect? If there are no errors, the page will jump to the login success page. @RequsetMapper("/login.do") public @ResponseBody Map< ...

Posted by jossejf on Mon, 23 Dec 2019 10:37:43 -0800

Qt - using ajax to get the post data of ashx interface

Because the current C + + project needs to use ajax library to post to call the ashx interface, the interface address is as follows:   The parameters to be passed are as follows:   Then it is found that qml is better to call ajax.js library, so this chapter uses C + + interface to get qml method to call ashx interface (take a C + + interfac ...

Posted by ldoozer on Mon, 23 Dec 2019 06:17:28 -0800

Docker Series 3:Docker Mirror Details

1. Introduction to Docker Mirrors 1. Introduction of Mirror Composition      Hierarchical, with bootfs at the bottom and rootfs above bootfs can be of type btrfs, aufs, lxc and require a kernel, but this kernel is only for user controls that launch containers rootfs is represented as a root file system, which contains many files and directori ...

Posted by revdev on Sun, 22 Dec 2019 19:15:54 -0800

jqGrid remains selected when using multiselect to turn pages

Usage scenario: the id of the selected row in the jqGrid table needs to be added to the form, while the table needs to turn pages because of too much data, but the selected row disappears every time the checkbox is selected to turn pages and then turn back. So it is necessary to keep the checkbox selected before turning the p ...

Posted by dennisjade on Sun, 22 Dec 2019 15:09:29 -0800

vue signal realizes real-time message synchronization between front and back end

##Foreword Recently, I received a project that requires using websocket to connect. As a result, a. Net signal came. I was responsible for processing the front end. After getting the sample js given by the back end, I started to write the connection of vue. The main purpose is to realize that the server sends messages to the use ...

Posted by varun_146100 on Sun, 22 Dec 2019 14:23:59 -0800

Browser open new window blocked

1. window.open() method and submit method of form form form The user needs to click the event to trigger, write it directly in the click event, and it is not blocked <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scal ...

Posted by ragedigital on Sun, 22 Dec 2019 11:29:39 -0800

Separation of front and back development and cross domain problems

Front and rear end separation Traditional development mode Once upon a time, JSP and Servlet brought infinite scenery to Java, which became popular for a while. However, with the continuous development of the Internet, such a development method gradually revealed its disadvantages. In the hot mobile Internet today, the application requirements ...

Posted by konetch on Sun, 22 Dec 2019 10:14:38 -0800

c + + configuration of vscode in Ubuntu

Create a new project directory, such as hello world; Create a new cpp file under the directory HelloWorld, such as helloworld.cpp; #include <iostream> #include <vector> #include <string> using namespace std; int main() { vector<string> msg {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"}; fo ...

Posted by pleek on Sun, 22 Dec 2019 09:38:36 -0800