摘要:
function Person(name) { //给构造函数添加了参数 this.name = name; this.sex = "male"; this.say = function() { console.log(this.name); } } Person.prototype.age = 2 阅读全文
摘要:
<a href="/i/w3school_logo_white.gif" download="w3logo"><img border="0" src="/i/w3school_logo_white.gif" alt="W3School"></a> 阅读全文
摘要:
function random (min,max) { return Math.floor(Math.random()*(max-min)+1) } console.log(random(1,4)) 阅读全文
摘要:
npm i lib-flexible -S1 npm i px2rem-loader -D main.js import 'lib-flexible' 阅读全文
摘要:
安装错误时 npm uninstall less-loader //御卸 方法一 1.安装 npm install less@3.9.0 npm install less-loader@4.1.0 2.引入main.js Vue.use(less); import less from 'less'; 阅读全文
摘要:
npm install vue-json-excel import JsonExcel from 'vue-json-excel' Vue.component('downloadExcel', JsonExcel) <template> <div class="home"> <download-ex 阅读全文
摘要:
:class="show?'many-txt':'all-txt'" v-show="'many-txt'?'show':'!show'" https://elm-api.caibowen.net/ http://192.168.1.5:8080 https://elm.cangdu.org/bos 阅读全文
摘要:
wx804d7666e72050aa 一跳转到导航页 <navigator url="/pages/game/game" open-type="switchTab"> 二跳转到带箭头 <navigator url="../storiesdetai/storiesdetail"> 矢量图标库 http 阅读全文
摘要:
https://www.w3cschool.cn/uni_app/ https://uniapp.dcloud.io/component/ view-uni-app https://uniapp.dcloud.io/component/view AppID https://account.dclou 阅读全文
摘要:
数组连接为字符串,数组所有值之和积 var a=[1,2,8] var b=a.reduce(function (a,b) { return //a*b所有值乘积 // a+'' +b连接数组//a+b所有值之和 }) console.log(b) 多元运算 function test(p){ va 阅读全文