how do you understand that using refs can reduce the consumption of dom nodes? If you see an example on the official website of Vue, you will use ref,refs. . is the understanding and illustration of the following example correct? <!DOCTYPE html>...
recently I have been practicing making a pop-up box, = [part 1] = put the code first: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compa...
page code: < div id= d * ngIf = "show " > < div > ts file: in the callback function for which the request is successful: this.show = true; document.getElementById ( d ) at this time it is null,. I guess because dom hasn t been rendered yet, ...
as shown in the picture, after clicking the button, you append a new button in document.body. How did the new button be updated to the page? will the original button be rendered again? ...
<el-menu router :default-openeds="defaultOpened" default-active="$route.path" active-text-color="-sharpFEB307" > <el-submenu v-for="tab in menus&qu...
how do you write the max_fails of nginx? server { charset utf-8; listen 80; location { max_fails=3; } } failed to write this ...
as above, if you copy a picture in a system file and paste it into it, there will always be a file name in front of it, and the default event that prevents the browser will not be removed. if it is a screenshot, there will be no problem if it is cop...
recently I tried to use SpringBoot + JPA + H2 database. In application.properties, I configured the database connection spring.datasource.url=jdbc:h2:tcp: localhost D: H2DataBase DB test;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE but after starting the ...
in my vue project static js country_region.js this file is imported into a .vue file to be used as a drop-down list but my website is multilingual, all introduced i18n, but $t () this syntax can only be used in .vue, how can I use it in this js ...