
vue
文章平均质量分 85
ozhy111
大雨治理
展开
-
2020-12-02
-----props默认值写法----props: { rowClick: { type: Function, default: function() {} }, title: { type: String, default: "标题" }, display: { type: String, default: "table" }, columnCount: { ...原创 2020-12-02 17:32:02 · 219 阅读 · 0 评论 -
eslint 禁用命令
https://www.cnblogs.com/smzd/p/9848691.html'rules': {"comma-dangle": ["error","never"],//是否允许对象中出现结尾逗号"no-cond-assign": 2,//条件语句的条件中不允许出现赋值运算符"no-console": 2,//不允许出现console语句"no-constant-condition": 2,//条件语句的条件中不允许出现恒...原创 2020-08-21 14:15:26 · 2706 阅读 · 0 评论 -
vue笔记
--------------setTimeout---------setTimeout(() => { this.actAdd();}, 1000);let _this = this; setTimeout(function () { _this.actAdd()//娃娃消失}, 1000);原创 2020-08-15 19:55:04 · 148 阅读 · 0 评论 -
vue this.$set
解决动态增加属性 界面更新<template> <div> <h3>{{a}}</h3> <h3>{{pdata}}</h3> <button @click="f1">按钮</button> </div></template><script> var vdata = { name: '简书', age: '3',...原创 2020-08-06 18:56:47 · 349 阅读 · 0 评论 -
VUE CLI3.0安装及配置
https://www.cnblogs.com/xzybk/p/11590353.html# 安装npm install -g @vue/cli# 查看已安装版本vue --version 或者 vue -V# 卸载npm uninstall @vue/cli -g# 新建项目vue create my-project# 项目启动npm run serve# 打包npm run build在项目根目录新建文件 vue.config.jsmodule.expor..原创 2020-07-19 20:36:59 · 222 阅读 · 0 评论 -
vscode怎样设置git
https://gitee.com/zhao_haiyang/za.gitgit config --global user.name 'zhy'git config --global user.email 'ozhy1@163.com'git initgit remote add origin https://gitee.com/zhao_haiyang/za.gitgit pull --rebase origin mastergit add .//暂存所有更改git commi.原创 2020-07-06 21:45:43 · 493 阅读 · 0 评论 -
vue select自定义组件动态列表
-------------------------------HelloWorld.vue---------------<template> <div> <myAssemblys :selectty="selectty" :selectdVal="selectdVal" ></myAssemblys> <button @click="setType(1)">绫诲瀷1</button&g...原创 2020-06-26 15:11:29 · 461 阅读 · 0 评论 -
vue $refs的基本用法
https://www.cnblogs.com/xueweijie/p/6907676.html<div id="app"> <input type="text" ref="input1"/> <button @click="add">添加</button></div><script>new Vue({ el: "#app", methods:{ add:funct...原创 2020-05-22 13:46:28 · 237 阅读 · 0 评论 -
Vue.js中this.$nextTick()的使用
https://www.cnblogs.com/jin-zhe/p/9985436.htmlVue.js中this.$nextTick()的使用this.$nextTick()将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。假设我们更改了某个dom元素内部的文本,而这时候我们想直接打印出这个被改变后的文本是需要dom更新之后才会实现的,也就好..原创 2020-05-22 13:44:21 · 519 阅读 · 0 评论 -
vue ant 验证 获取 设置 重置 错误
<template><a-form@submit="handleOk":form="form"><!--form="form"必须优先注册--><!--客户姓名--><a-form-item:labelCol="labelCol":wrapperCol="wrapperCol...原创 2020-05-04 08:21:22 · 655 阅读 · 0 评论 -
vue ant 表单绑定值与验证
<template><a-form><a-form-item:label-col="labelCol":wrapper-col="wrapperCol"label="Prime>10":validate-status="fvalidateStatus":help=...原创 2020-05-03 15:53:21 · 854 阅读 · 0 评论 -
vue自定义组件名称大写连字符
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <title>slot</title> <script src="vue.min.js"></script> </head> &l...原创 2020-05-02 08:49:00 · 605 阅读 · 0 评论 -
Vue 基础
v-bind与v-model的区别v-bind用于绑定属性和数据 ,其缩写为“ : ” 也就是v-bind:id === :idv-model用在表单控件上的,用于实现双向数据绑定,所以如果你用在除了表单控件以外的标签是没有任何效果...原创 2020-04-30 15:47:45 · 129 阅读 · 0 评论 -
vue 登录跳转
https://blog.youkuaiyun.com/ying940718/article/details/88999341原创 2020-04-01 13:17:57 · 179 阅读 · 0 评论 -
vue顶部导航动画
vue顶部导航动画原创 2020-03-08 10:12:26 · 465 阅读 · 0 评论