Category: JavaScript
-
Post Views: 12 1. When the value of locale is set to english (us), the editor will display normally, but the corresponding language package file /assets/5fbb6f5a/lang/en.js response 404, as shown in Figure 1 2. When the local value is set to Simplified Chinese, when the article is created, the editor is not displayed normally, as shown in Figure 2 3.…
-
Post Views: 55 1. Install React Developer Tools (Chrome, React Developer Tools) to determine whether the build process is correct, as shown in Figure 1 2. When visiting a React page of a development mode, the icon of this tool will have a red background, as shown in Figure 2 This page is using the development of react. Note that…
-
Post Views: 15 1. On the official website:https://nodejs.org/zh-cn/Download the recommended version: 8.10.0 LTS, as shown in Figure 1 2. Right-click to install, prompt: Windows SmartScreen CanT Be Reached Right Now, click the RUN button, as shown in Figure 2 Windows SmartScreen CanT Be Reached Right Now Check your Internet connection.Windows SmartScreen is unreachable and canT help you decide if this…
-
Post Views: 14 1. Use npm to install the less compiler, check the npm version, as shown in Figure 1 npm -v 2. Install the Less compiler globally, run npm in phpstorm, select file, and open settings, as shown in Figure 2 3. Click Node.js and npm under “Language and Framework”, and on the opened Node.js and npm page, pack…
-
Post Views: 12 1. Mobile phone dynamic code login, jQuery Validation plugin verification rules, as shown in Figure 1: 2. Enter a registered Taiwan mobile phone number first. Since the national area code is mainland China, so remind: Please set the national area code for overseas mobile phones, as shown in Figure 2: 3. Switch the national area code to…
-
Post Views: 14 1. In OneThink (ThinkPHP3.2.3), integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS to realize direct transfer on the web, and the server-side signature is directly transmitted and uploaded callbacks, provided that you first refer to:https://www.shuijingwanwq.com/en/2016/01/13/10177/Implementation, set the CORS of Bucekt (Storage4-HMWIS-COM), as shown in Figure 0; 2. Check the practice of direct transmission on the web side of…
-
Post Views: 13 The reason is:
-
Post Views: 17 1. What is the difference between echo(), print(), print_r()? echo() is a language structure, no return value The function of print() is basically the same as echo(), and it is also a language structure. The difference is that print has a return value, and always returns 1 print_r is a recursive print for output array objects 2.…
-
Post Views: 14 The expected effect is as follows: The final code structure is as follows: as follows: In the old version, if the HTML parameter of the content ishtmlElementtype, after clicking the cancel button, its content will automatically replay the original call position, but v6 is clicking the cancel button After that, the original position of the content is…