I define a loading variable in app.vue how true, passes a variable to app.vue in the test routing component to change loading to false. this is the app.vue page wrapped in router-view, test how do I pass arr to app.vue and receive to change the val...
I would like to ask the bosses, is the current Mini Program can jump to the mobile app store? Because I saw the web-view tag, didn t it say that you can open the H5 page in Mini Program, so isn t that the same as the H5 jump? how do you do it if you c...
the following is a request code. I need to send the cleartext information to the browser. I know that using res.write () can be output to the browser. But what should I do if I report an error? request.post({url:ajaxurlip + url, form: { req :ciphert...
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 ...
1. After packaging the project with vue-cli, if you encounter the packaged project that needs to add new modules, do you want to repackage it? In that case, if the project is big enough, you can t be exhausted. how can 2.webpack be packaged in modules...
I recently read the use of jwt, and I also used jwt as single sign-on authentication in the small project I wrote, and the back end is nodejs. I ve thought of the principles of csrf,csrf and jwt, and I know pretty much about it, but my question is, can...
schema is defined in this way const mongoose = app.mongoose; const { Schema } = mongoose; const UserSchema = new Schema({ phone: { type: String }, unphone: { type: String } ...
npm install-- save-dev will be saved to devDependencies, npm install-- save will be saved to dependencies. I used the vue-video plug-in in the project, only saved it in devDependencies, and the plug-in works fine after packaging. But it is not stored ...
the middle tier I started with node (koa) has a lot of timeouts from the very beginning. I wrote the timeout control myself. At first, I wrote the timeout, then the request grew, the timeout also increased, and finally I reached several hours, and then I...
A rookie at the front end is now developing a company project, using the development mode of the vue build tool, and then there are some problems when debugging the interface with the back end. The server software used by the company is apache,. Once a c...
I have seen on npm before. but forgot the name and looked it up with several related words, but could not find it the function I want is for example, the directory structure is like this (multi-level support ) root - A -- file1 -- file2 - B -- fil...
<!doctype html> <html lang="en"> <head> <title>Document< title> < head> <body> <%= helloWorld %> <img src=". a.jpg" alt="" > < body> < html> var ...
use vue as the project, and use node as the middle layer to deal with the data returned by the background interface. Online is how to deploy node-related code. For example, when you are local, you want to start node and how to handle it on the server. Do...
query router.get(" cartList", (req, res, next) => { User.findOne({ userId: 123456 }, (err, doc) => { }); } query router.get(" cartList", (req, res, next) => { let userId = req.cookies.userId console.log(user...
server, localhost implemented by koa runs normally during testing, but GET does not respond when deployed to the server: Local test all requests respond normally: : ask what the problem is. ...
how to get the user s mac address, Wechat s official document is not clear! Ask for advice! ...
paste the original data document first: : : what I want to ask is why the day1 update is successful, but day2.time1 can not update the callback of, save (), and how can it be updated successfully without err,? ...
refer to the figure above, existing permission:{ id:DataTypes.INTEGER, type:DataTypes.STRING } Operate:{ id:DataTypes.INTEGER, name:DataTypes.STRING url:DataTypes.STRING } how to write associate? for permission Can you dy...
such as the title, so do you have to execute the npm install command every time you launch? ...
encountered a small problem when practicing: videouseruseriduseridavatar,videouser: then res.send () will execute before User.findOne () . how can I execute res.send () after User.findOne () ? the newcomer at the front end understands Pr...
< H1 > Preface < H1 > the login page for filling in the information is local and made by myself; the authenticated page is not mine, on an uncontrollable server < H1 > traditional form submission < H1 > main.html $.ajax({ type: POST , ...
splice directly in url: : params:: params: pass parameters in params. I don t know how to achieve the format like that in url. I hope God will give me some advice. Thank you! ...
Why do I report an error when I write like this? I don t understand the code is as follows <table border=1> <?php for ($i = 1; $i < 10; $iPP) { ?> <tr> <?php for ($j = 1; $j < 10; $jPP) {?> <...
are there any plug-in display sites at the front end? for example: iOS develops a website with components such as www.code4app.com. Is there a similar website at the front end? ...
I find a problem when I use freemaker to static a web page. I don t know how to solve it. For example, the @ copy part of the foot of a website should always be the same. For example, I make the home page static. Every time I add a message, I modify the...