-
The problem of react-keeper routing challenge, urgent!
antd-mobile UItabbar
tab
tabbarIndextab
the problem is how to display the page under the corresponding Tab path after clicking the switch, such as why the navigation path home nav, above adds the path file but cannot access it?
...
-
Recently, npm install has been reminding github login
projects generated by webpack4 can be directly npm install before,
Open this project today and re-npm install the total pop-up prompt
githubnpm installwindow
C:UsersAdministratorDesktopTms>npm installnpm ERR! Error while executing:npm ERR! C:Program ...
-
About jumping the bank to recharge the website transaction has the risk question?
request the backend to submit parameters to return a url similar to online silver recharge. It is risky to contact the merchant after entering the operation prompt. What is the situation of contacting the merchant? Is it necessary to submit form forms in...
-
Are both amd-optimize and gulp-requirejs-optimize, used to package requirejs modules?
I would like to ask you, recently, I am learning that requirejs, knows that r.js is used to package requirejs modules. But now I want to package the requirejs module with r.js in conjunction with gulp.
read a lot of tutorials, and many of the tutorial...
-
Call await renderer.renderToString (context) to report an error when configuring vue ssr.
< H2 > an error was reported when configuring vue ssr server rendering. I have been looking for this error for a long time, but I really don t know how to solve it. I hope to have some advice < H2 >.
server-render.js
const ejs = require( ejs )
mod...
-
Node+ejs renders the page, and the page does not change after the data is changed.
do paging. On the first page, the background res.render ( "admin article.html ", {data:data}) Click the second page to re-query the database and query successfully to make sure that the data has changed. The page has not changed. What should be done? ...
-
Vue in hash mode, calling Wechat jssdk, Android will change the shared link, how to solve it?
is currently developing an official account that uses vue s hash mode for vue, routing, but the Android phone will modify my custom link during the test. I will intercept all the addresses after-sharp for example, my custom sharing link is http: e...
-
The page does not display updates after the code is submitted
use node as the middle tier, a build tool made by gulp. When I submit the code to the server and recompile, and then refresh the page, dom always shows old resources, but both css and js have been updated. It has been recompiled countless times, and the...
-
Webpack cannot dynamically set html content in the html, of require in js
footer.html
footer.js
html has been rendered, but the value of span is still the original value. how to set the value of span dynamically?
...
-
I want to be a 3D editor. How can I identify a basic architecture and fill in the code?
such as the title, I want to design and develop an online 3D editing software in my spare time, but I don t know how to build it. I m afraid that if I find it wrong in the middle of the writing, I will come back to change the structure, then it will b...
-
Is there a callback when you open a web page in Weibo and share it with your friends?
do you share the web pages in Weibo with your friends? do you have a receipt? is there a successful callback when Weibo is shared with Wechat s moments? ...
-
What is the problem that the function executed by vue cannot be called without the component?
the official website says that this is the function called after destroying the vue instance. Mine just left the routing interface and did not call it. This is because no vue scaffolding generated only one root instance that destroyed the page. Is th...
-
Loop highlighting in echart's line chart, that is, every 5 seconds, one line brightens and the rest darkens.
cycle highlighting in echart s line chart, that is, every 5 seconds, one line brightens and the rest darkens. ...
-
Nodejs uses multer to implement the file upload front-end request report 404, but the picture has been uploaded successfully.
the front end requests to report 404, but the backend confirms that the file can be received .
Code in node service server.js
var storage = multer.diskStorage({
destination: function (req, file, cb) {
cb(null, . upload );
},
filename: f...
-
The asynchronous data rendering swiper, data request was successful, but the later swiper-slide was not rendered?
I enter the vue-awesome-swiper, page used in vue2.0 and request an interface according to the parameters in an array list. Every time the requested data returns the result, I save it in an array, and then swiper takes the data from these arrays to rende...
-
Vue cli is configured with friendly prompts and does not respond?
this is how I used to add error prompts at home if the code went wrong. The browser will print it on the screen. But now this method of writing does not respond to the configuration in the company. I don t know why ...
-
Js transform data structure
do a page for a period of time, a class for 30 minutes. The data structure that the backend wants is like this
2018-09-17|09:00-09:30,2018-09-18|09:30-11:00,2018-09-19|10:00-11:30,2018-09-20|10:30-11:00,2018-09-21|11:00-11:30,2018-09-22|11:30-12:00
I ...
-
Problems with immediate execution of setTimeout
when I was using react-native to develop Android app, I encountered the problem of immediate execution of setTimeout. I found a lot of information on the Internet and tried to no avail, so I came to ask for help. No, no, no.
here is my code
_heig...
-
Beginners ask a few questions about json objects
Why use json object strings here, as shown in the figure? Then the front-end js parses the string into an object with JSON.parse (), so why not just use the normal js object form in the first place?
...
-
Vue server rendering uses vuex to save login status. After refreshing, vuex data is lost and local storage cannot be used in routing guards.
vue server rendering uses vuex to save login status. After refreshing, vuex data is lost, and local storage cannot be used in the routing guard in beforeEach. After using it, report 500 directly, and the pages are gone .
Code:
localstoragelocalst...