Attention to value transmission of uni components

Table of contents 01. The value transmission of components meets a pit 02. Pass value from parent component to child component 03. Pass value from child component to parent component 01. The value transmission of components meets a pit Notes on value transfer from child component to parent component Pay attention to the method to define the ...

Posted on Sun, 24 May 2020 10:38:14 -0400 by Stoneguard

Platform-Micro Component State Management in vivo Wukong Activity

This article was first published on vivo Internet Technology WeChat Public NumberLinks:   https://mp.weixin.qq.com/s/1DzTYIExVbK0uE_Oc7IHYw Author: Wukong Radio R&D Team Wukong Event Platform series of exciting articles in the past: <Reveal how vivo creates a platform-launch for tens of millions of DAU events "Mainly tells y ...

Posted on Wed, 20 May 2020 22:31:44 -0400 by Labbat

this scope of uni

Table of contents 01. Let's look at a case first 02. Take a look at the solution 01. Let's look at a case first The code is as follows It is found that clicking button 1 can update the title content, but clicking button 2 cannot update the title content. Why on earth is this? <template> <view class="container"> <text>{ ...

Posted on Mon, 18 May 2020 10:27:52 -0400 by donbueck

Illustrating the principle of Promise implementation -- the realization of Promise prototype method

This article starts with WeChat official account of vivo Internet technology.Link: https://mp.weixin.qq.com/s/u8wuBwLpczkWCHx9TDt4NwBy: Morrain Promise is a solution of asynchronous programming. It was first proposed and implemented by the community. ES6 has written it into the language standard, unified its usage, and provided promise ob ...

Posted on Mon, 18 May 2020 03:09:54 -0400 by Dan06

Processing method of bread crumbs from list page to detail page of vue

this.$route.matched is used for menu level breadcrumbs If data structure [ { path: "/home", name: "Business Statistics", component: "Home", children:[{ path: "/commercial/dataAccount/Day", name: "Daily statistics 1", component: "DataAccountDay" ...

Posted on Sun, 17 May 2020 13:04:34 -0400 by surreal5335

How to install and configure webpack?

Global install first: npm i webpack webpack-cli -g Initialize in working folder npm init -y A package.json file will appear Create a new configuration file in the working folder root, js format webpack.config.js Write in configuration file var path = require('path'); var HtmlWebpackPlugin = require('html-webpack-plugin'); //Auto import plug-i ...

Posted on Sat, 09 May 2020 12:22:56 -0400 by sottwell

keep-alive of vue development

concept Keep alive is a built-in component of Vue. When it wraps dynamic components, it will cache inactive component instances instead of destroying them. Similar to transition, keep alive is an abstract component: it does not render itself as a DOM element or appear in the parent component chain. Effect      &emsp ...

Posted on Thu, 07 May 2020 02:55:11 -0400 by schandhok

Day 25 of egg learning notes: mongoose predefined pattern modifiers Getters and Setters custom modifiers

1, mongoose predefined pattern modifier. lowercase,uppercase,trim The predefined pattern modifiers provided by mongoose can format our added data. ① , create new news.js under the db folder, connect to the database, and export newsModel. var mongoose = require("./db.js"); // Define data table (Collection) mapping, note: field names must ...

Posted on Sun, 03 May 2020 22:13:59 -0400 by kyberfabrikken

Implement Online Excel Editing System

1. Editing Excel Online At this stage, the background management system needs to realize the function of online excel editing in many times. The main advantages are as follows: 1. Browse and edit excel files online (cross-platform, zero-dependence, always inconvenient to install Microsoft office) (2) File management, rights control (data sec ...

Posted on Tue, 28 Apr 2020 12:48:42 -0400 by noaksey2000

Front end: integrating Html translation pipe (pipeline) with Angular framework and Ionic framework

In front-end development, it is often encountered that the content displayed on the page has HTML tags. The default is untranslated. The integrated translation pipeline can display the content normally. Because the integration method of Angular and ionic is a little different, they are written separately. 1, Angular framework integration pipe ...

Posted on Tue, 28 Apr 2020 12:12:04 -0400 by dustinkrysak