logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

npm install一直报错equest to https://registry.npm.taobao.org/underscore failed, reason: Client network

request to https://registry.npm.taobao.org/underscore failed, reason: Client network socket disconnected before secure TLS connection was establishednpm ERR! network This is a problem related to netwo

#npm#node.js#前端
Vue2.0 $set() v-model.trim

受 ES5 的限制,Vue.js 不能检测到对象属性的添加或删除。因为 Vue.js 在初始化实例时将属性转为 getter/setter,所以属性必须在 data 对象上才能让 Vue.js 转换它,才能让它是响应的。要处理这种情况,我们可以使用$set()方法,既可以新增属性,又可以触发视图更新。this.$set(this.data,”key”,value’)mounte...

vue 显示与隐藏,点击显示一个

<template><div><header-top><span slot="title" class="name">版本更新</span></header-top><div class="h_con"><div class="h_question"><div v-fo...

vue+croppr.js 裁剪圆形图片

<template><div id="demo"><!-- 遮罩层 --><div class="container" v-show="panel"><div><img id="image" :src="url" alt="Picture"></div><button typ...

vue- 封装选项卡切换

&lt;template&gt;&lt;ul&gt;&lt;li v-for="(item, index) in navTabList" :key="index" @click="get(index)" :class="{active:index == num}"&gt;

vue 实现显示与隐藏

vue 实现显示与隐藏// An highlighted block<template><div><header-top><span slot="title" class="name">版本更新</span></header-top><div class="h_co...

Vue项目打包报错Failed to load resource: net::ERR_FILE_NOT_FOUND

打包出错显示空白页,或者Failed to load resource: net::ERR_FILE_NOT_FOUND1.webpack.prod.conf.js 中output添加参数publicPath:'./'2.修改webpack.base.conf.js中:publicPath: process.env.NODE_ENV === 'production'?'....

到底了