08 2020 档案

摘要:函数调用 Dialog 是一个函数而不是组件,因此可以直接调用,展示对应的提示弹窗 import { Dialog } from 'vant'; Dialog({ message: '提示' }); 组件调用 通过组件调用 Dialog 时,可以通过下面的方式进行注册 import Vue from 阅读全文
posted @ 2020-08-12 20:23 武小妞 阅读(5376) 评论(0) 推荐(0)
摘要:<template> <div> <el-button :disabled="disabled" @click="sendcode" class="sendcode">{{btntxt}}</el-button> </div> </template> <script> export default 阅读全文
posted @ 2020-08-11 16:35 武小妞 阅读(165) 评论(0) 推荐(0)
摘要:1.本地库初始化:git init 2.设置签名: (1)项目级别(项目里面) git config user.name xxx git config user.email xxx (2)系统级别(所有的项目) git config --global user.name xxx git config 阅读全文
posted @ 2020-08-08 20:07 武小妞 阅读(202) 评论(0) 推荐(0)
摘要:首先官网介绍,用 Vue.js + vue-router 创建单页应用,是非常简单的。使用 Vue.js ,我们已经可以通过组合组件来组成应用程序,当你要把 vue-router 添加进来,我们需要做的是,将组件(components)映射到路由(routes),然后告诉 vue-router 在哪 阅读全文
posted @ 2020-08-08 19:55 武小妞 阅读(901) 评论(0) 推荐(0)