vue property binding and interaction

vue directive binding properties vue binds attributes by directive v-bind, src/width/height/title, such as v-bind:src='''can be abbreviated as: src=''', the same v-Bind:widthWait a moment, abbreviated as width,:height <script src="https://unpkg.com/vue/dist/vue.js"></script> <body> <div id="box"> <img v-bind:sr ...

Posted by ariliquin on Mon, 20 Jul 2020 18:09:56 +0200

Crawl app photos with python

Download a fighting fish first (you can do it without downloading, the URLs are all here, right) Grab a json package by grabbing it and get the address below   Observed tests show that modifying offset values is equivalent to paging an app Accessing this url returns a large dictionary with two indexes, one error and one data.Data is another 20 ...

Posted by djcubez on Mon, 20 Jul 2020 16:59:48 +0200

Angular template reference variable (#var)

1. Template Reference Variables Template reference variables use the pound sign (#) to declare reference variables. Template reference variables are often used to reference a DOM element in a template, which can reference Angular components or directives or Web Component s. We can use a template to reference variables anywhere in the current ...

Posted by q1234ask on Mon, 13 Jul 2020 16:35:15 +0200

Experience with async/await

Running Environment This method is supported above node7 This feature is supported above chrome55 and is typically used in node development Introduction to async Async is actually the syntax sugar of promise, a method marked by async that returns a promise object async is defined as follows: async function name([param[, param[, ... par ...

Posted by alexguz79 on Sun, 12 Jul 2020 17:10:50 +0200

Overview of springMVC's ability to download Excel tables

spring provides encapsulation classes for Excel DownloadsOrg.springframework.web.Servlet.view.document.AbstractExcelView, when implemented, simply implement a class that inherits AbstractExcelView, then override the buildExcelDocument(Map<String, Object> model,HSSFWorkbook workbook, HttpServletRequest request,HttpServletResponse respo ...

Posted by conspi on Wed, 08 Jul 2020 17:02:44 +0200

How to determine the data type

Use typeof to determine data type (1) Judging basic data types //Number type typeof 1;//"number" //Boolean type typeof true;// "boolean" //String type typeof "zzz";// "string" //Undefined typeof undefined;// "undefined" //object function Person(name, age) { this.name = name; this.age = age; } var person = n ...

Posted by hesketh on Mon, 06 Jul 2020 17:54:22 +0200

How to determine the data type

Use typeof to determine data type (1) Judging basic data types //Number type typeof 1;//"number" //Boolean type typeof true;// "boolean" //String type typeof "zzz";// "string" //Undefined typeof undefined;// "undefined" //object function Person(name, age) { this.name = name; this.age = age; } var person = n ...

Posted by exxx on Mon, 06 Jul 2020 17:54:53 +0200

Pure html cross-domain access to java interfaces

What is cross-domain? Cross-domain means that html access addresses and interface addresses are in different domains. As long as one of the domain names, protocols, and ports is satisfied, cross-domain means cross-domain. Why not cross-domain? Because of security issues, such as when a user visits a bank website, ...

Posted by phpvolution on Thu, 02 Jul 2020 16:33:10 +0200

[source code analysis] Oozie history submission task

0x00 summary Oozie is an open source framework based on workflow engine contributed by Cloudera company to Apache. It is an open source workflow scheduling engine of Hadoop platform, which is used to manage Hadoop jobs. This article, the first in a series, introduces oozie's task submission phase. 0x01 problem We deduce the implementation f ...

Posted by cowboy_x on Tue, 30 Jun 2020 05:26:29 +0200

Self cultivation of the whole stack: 002 using @ vue/cli vue.js Environment construction

<h1>Self cultivation of the whole stack: using @ vue/cli vue.js Environment construction</h1> Success, real success, is being willing to do the things that other people are not. Success, real success, is willing to do what others don't want to do. Table of Contents @[TOC] When you read this article, I think you are interested in h ...

Posted by haddydaddy on Mon, 29 Jun 2020 09:27:29 +0200