in a vue template referenced by a rails project, when reading the code to find data, it is found that there is a data that comes from this export const activeFile = state => state.openFiles.find(file => file.active) || null; I don t understand ...
the foreground uses base64 encoding format, and this is what it looks like in the background database upload code compress (img) { let canvas = document.createElement("canvas"); let ctx = canvas.getContext("2d"); canvas...
const connect = require("connect"); const morgan = require("morgan"); const bodyParser = require("body-parser"); const methodOverride = require("method-override"); const edit = function(req, res, next) { if (&qu...
when vue-awesome-swiper, turns the page, the animation written in the page does not execute search from the Internet, people say that it is OK to add onInit and onSlideChangeEnd , but it is not useful for me to add it. also says that adding obser...
the class library used by the development language: PHP,: PHPExcel purpose: one of the exported excel, columns does not want to be modified by the user. Action: the code $objPHPExcel- > getActiveSheet ()-> freezePane ( "D1 ") is used; result: it is no...
I have just studied python2 for a month, and the basic function of this code has been realized. However, there is such a mess in the view function. How to optimize this code? the following code is mainly through the data submitted by the form, sending p...