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 · 302 阅读 · 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 · 2835 阅读 · 0 评论 -
vue笔记
--------------setTimeout--------- setTimeout(() => { this.actAdd(); }, 1000); let _this = this; setTimeout(function () { _this.actAdd()//娃娃消失 }, 1000);原创 2020-08-15 19:55:04 · 202 阅读 · 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 · 406 阅读 · 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.js module.expor..原创 2020-07-19 20:36:59 · 269 阅读 · 0 评论 -
vscode怎样设置git
https://gitee.com/zhao_haiyang/za.git git config --global user.name 'zhy' git config --global user.email 'ozhy1@163.com' git init git remote add origin https://gitee.com/zhao_haiyang/za.git git pull --rebase origin master git add .//暂存所有更改 git commi.原创 2020-07-06 21:45:43 · 608 阅读 · 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 · 508 阅读 · 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 · 302 阅读 · 0 评论 -
Vue.js中this.$nextTick()的使用
https://www.cnblogs.com/jin-zhe/p/9985436.html Vue.js中this.$nextTick()的使用 this.$nextTick()将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。 假设我们更改了某个dom元素内部的文本,而这时候我们想直接打印出这个被改变后的文本是需要dom更新之后才会实现的,也就好..原创 2020-05-22 13:44:21 · 566 阅读 · 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 · 725 阅读 · 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 · 934 阅读 · 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 · 672 阅读 · 0 评论 -
Vue 基础
v-bind与v-model的区别 v-bind用于绑定属性和数据 ,其缩写为“ : ” 也就是v-bind:id === :id v-model用在表单控件上的,用于实现双向数据绑定,所以如果你用在除了表单控件以外的标签是没有任何效果 ...原创 2020-04-30 15:47:45 · 167 阅读 · 0 评论 -
vue 登录跳转
https://blog.csdn.net/ying940718/article/details/88999341原创 2020-04-01 13:17:57 · 212 阅读 · 0 评论 -
vue顶部导航动画
vue顶部导航动画原创 2020-03-08 10:12:26 · 519 阅读 · 0 评论
分享