make a simple parser using regular expressions. Imported data in textarea did not replace characters successfully only hope that imported data can replace characters; matchArry [0] reported an error <!DOCTYPE html> <html lang="en"&...
function a () {console.log (this);} var tc: any = {a: 0}; var cz = a.bind (tc); cz (); ...
for example, I want to dynamically load Google Analytics based on the environment in index.html. The development environment does not introduce its script, and the production environment introduces its script. I tried to read the process.env attribute...
when you encounter a problem in the process of learning TypeScript, take a look at the following code In the section TypeScript additional type checking, solutions are given to avoid compiler errors in the code. my confusion is, why can this metho...
users log in to the home page, where there are multiple ajax requests. Each ajax request is now required to include Authorization verification information in the header before each Authorization request I use jquery ajax s beforeSend method, but I fi...
how to make node support the following features: babel: babelreactnode: how to solve this problem? Can I use babel in node? After all, babel is compiled and run. Does node and browsing babel work the same way? ...
1, the demand is to have a list of pictures. After right-clicking, the current picture will zoom out and disappear, and the following picture will automatically slide to fill the position. I found that after the vue data was updated, the view was refres...
h5video has an extra button next to the full screen on iphone. The click effect should be a full screen with width as the standard, and a horizontal screen with height as the standard. My question now is to disable this button. What should I do? ...
element Tree ...
my link has been encoded using encodeURIComponent . After clicking it, the browser automatically decodes it? What s going on? This is not what I want ...
webpack multiple pages how do I compile or package a page based on parameters? A folder is a single page, ...
problem description such as the title. Like SUNING s Mini Program, some product details will appear in the lower left corner of the picture after sharing. Look at it carefully, not a screenshot. How did he do it? I also want to achieve this functio...
to find something else, write the md file first, and then load it on a static web page. is currently trying wangEditor, which is a web rich text editor with insufficient functions to meet the needs. What you want is dynamic editing, page generation, and...
< H2 > for example, if you haven t found an example of pop-up subcomponents for a long time, more than 10 different subcomponents will pop up on a page < H2 >...
you can see js code using in many places. (function($){ var demo = function(){ }; var demo2 = function(){ }; })(jQuery) wrap it up like this. It s a js closure. What are the benefits of writing js code into t...
the code is as follows import * from xxxx Why is this syntax not supported? Node.js does not support import, and Safari does not support import. Is this ES6 syntax not intended to be supported at all. ...
problem description There are many websites of document type. At present, vue-cli converts markdown files directly into pages through webpack plug-ins. There is a problem that each markdown file must be registered for routing, resulting in a huge rout...
var _html= <h1 style="text-align: center; font-weight: 700; font-size: 40px;">< h1> ; foreground ajax post _ html goes to the background php cannot be used directly. What kind of code is this? How do I decode it into normal htm...
how to calculate the duration of js recording? How to obtain the recording duration ...
problem description the goal requirement is: the customer enters the text, and then he can choose different art fonts [not commonly used fonts], and the effect can be previewed online. the environmental background of the problems and what methods yo...
after the backend queries the data by conditional paging, the front-end template displays the paging as shown in the figure. Now return all the data when you click on the second page. How to bring the previous query conditions. ...
using betterscroll+antdMobile s tabs, in react causes tab to be concentrated in the first ...
problem description the environmental background of the problems and what methods you have tried datatalbe control writes the table some functions outside the table, two float components, when the browser window size changes to a certain extent,...
for example, extract all the seven digits at the beginning of 131 on this page without repeating <a href=" 1310280" title="1310280">1310280< a>< li><li><a href=" 1310281" title="1310281"...
paging current-page is set searTenantHouseList() { this.pagination.currentPage = 1 this.GetTenantHouseList() } but this.pagination.currentPage still hasn t changed after clicking search and clicking the page number to ju...