05 2019 档案
摘要:昨天的问题是 modules: [ '@nuxtjs/axios',],这个后面 还有一个modules: [],没删, 不要直接加,要在后面添, 不然覆盖了,to thi tha modules: [ '@nuxtjs/axios',],axios: { prefix: '/api/', prox
阅读全文
摘要:https://www.cnblogs.com/lentoo/p/9637845.html 回去用这个改
阅读全文
摘要:vue innerText 等 用 v-text 在JavaScript中可以使用innerText或者textContent来操作元素中的纯文本。在Vue中,如前面的示例所展示的一样,使用{{}}Mustache语法操作元素中的纯文本。不过在Vue中,我们还可以使用v-text起到同等的作用。著作
阅读全文
摘要:.pages{ width: 200px; margin: auto;}
阅读全文
摘要:https://www.cnblogs.com/hutuzhu/p/4450850.html 方法7:display:flex和margin:auto 比较好,也使用中 1 2 3 4 5 .box8{ display: flex; text-align: center; } .box8 span{
阅读全文
摘要:图片缩放 var fs = require('fs'); var gm = require('gm'); gm('./1hb11.jpg') .resize(50, 50,"!") .write('./50.jpg', function (err) { if (!err) console.log('
阅读全文
摘要:for(let i = 0;i{ if(v.substr(0,"译 名".length)=="译 名"){ movie1.yiname = v; } if(v.substr(0,"片 名".length)=="片 名"){ movie1.name = v; } ...
阅读全文