Interview Miss check 1
1. About css style penetration
When we use UI library components, scopeds isolate styles and sometimes modify them without removing the scopeds property to cause style overrides between components. At this point we can penetrate scoped in a special way
Outer Container >>> assembly { }
Outer Container /deep/ assembly { }
Outer Conta ...
Posted by brianb on Fri, 05 Nov 2021 10:02:25 -0700
Vue3.x quickly get started with the main functions of Vue3.x
Create Vue3.x framework Demo
<script src="https://unpkg.com/vue@next"></script>
<body>
<div id="app">
{{title}}
</div>
<script>
const {createApp} = Vue
const app= createApp({
data(){
return {
title:123
}
}
})
let vm = app.mount('#app')
</sc ...
Posted by Twister1004 on Thu, 04 Nov 2021 19:35:14 -0700
[suggestions collection] how many 32+ vue modifiers do you master?
prefacevue is simple and easy to use, which is reflected in many places. For example, it has a built-in 32 + modifier, which can be very convenient for us to prevent bubbles, prevent default events, mouse event processing, system keyboard events, etc., so that we can quickly handle business. It's not too convenient!!!After 15 minutes, you can g ...
Posted by shrive22 on Thu, 04 Nov 2021 18:44:23 -0700
2021 CNSS WEB part WP
Web
Signin
At the beginning, Please Change Your Method!, The source code can be obtained by modifying the packet capture method to the POST method
<?php
error_reporting(0);
require_once("flag.php");
if($_SERVER['REQUEST_METHOD'] !=='POST'){
die("Please Change Your Method!");
exit();
}else{
if(!isset($_POST["CNSS"])){
s ...
Posted by hstraf on Thu, 04 Nov 2021 15:14:43 -0700
Interviewer: optimize Fibonacci function with "tail recursion"
1 PrefaceProgramming problem: input an integer n and output the nth item of Fibonacci sequenceSome interviewers like to ask this question. Maybe you think it's too simple. It can be realized at once by recursion or recursion.Just when you are full of confidence and realize it in two waysInterviewer: now please optimize your recursive implementa ...
Posted by programming_passion on Thu, 04 Nov 2021 11:09:32 -0700
Front end learning notes Webpack
Front end learning notes Webpack
1. Introduction to webpack
This section gives a brief introduction to Webpack.
1.1 basic introduction
Webpack:
A front-end resource building tool, a static module bundler.
In the view of webpack, all resource files (js/json/css/img/less /...) of the front end will be processed as modules.
It wi ...
Posted by dennismcdougall on Thu, 04 Nov 2021 03:46:53 -0700
Shallow copy and deep copy of JavaScript
There are a lot of discussions on this topic on the Internet. I sorted it out myself according to various situations. Finally, I can approach the perfect realization of deep copy. Welcome to discuss.
Objects in javascript are reference types. When copying objects, you should consider whether to use shallow copy or deep copy.
Direct assignment ...
Posted by dougp23 on Thu, 04 Nov 2021 03:39:46 -0700
Interviewer: optimize Fibonacci function with "tail recursion"
1 Preface
Programming problem: input an integer n and output the nth item of Fibonacci sequence
Some interviewers like to ask this question. Maybe you think it's too simple. It can be realized at once by recursion or recursion.
Just when you are full of confidence and realize it in two ways
Interviewer: now please optimize your recursi ...
Posted by oneski on Wed, 03 Nov 2021 21:41:11 -0700
WebSocket usage and how to use it in vue
WebSocket
WebSocket is a protocol for full duplex communication on a single TCP connection provided by HTML5.
WebSocket makes the data exchange between the client and the server easier, and allows the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete a handshake, and they can direct ...
Posted by JaGeK on Wed, 03 Nov 2021 18:12:36 -0700
React passes parameters through url and routes
Based on my previous article "Write a simple navigation with react route", which expanded above, friends can go to Kangkang.
The methods passed by url are:
1) Direct? Receive: this.props.location.search
2) query receive: this.props.location.query
3) State Receive: this.props.location.state
4) Params reception: this.props.l ...
Posted by FrostedFlakes on Wed, 03 Nov 2021 09:13:44 -0700