最近需要用到mui,特此记录一下,欢迎交流。 除了可以使用addEventListener()方法监听某个特定元素上的事件外, 也可以使用.on()方法实现批量元素的事件绑定 HTML代码 <div id = "list"> <ul> <ul class="mui-table-view"> <li ...
分类:
其他好文 时间:
2021-06-10 17:35:56
阅读次数:
0
<div v-mydirect:fn="item"></div> Vue.directive('mydirect', { bind (el, binding,vnode) { let that = vnode.context that[binding.arg](binding.value) } }) ...
分类:
其他好文 时间:
2021-06-10 17:34:26
阅读次数:
0
git clone -b 远程分支名 仓库地址 从远程指定分支克隆代码git branch 查看本地分支 git checkout -b cap 创建本地cap分支 并切换 git add * git commit -m"测试提交" git push origin cap:cap 将本地项目提交到远 ...
分类:
其他好文 时间:
2021-06-09 15:23:31
阅读次数:
0
#include <reg52.h> sbit d1 = P1^0; // 定义第一个发光二极管 int i; void main(){ EA = 1; // 开总中断 EX0= 1; // 开外部中断0 /*** 因为这两个地方涉及到内部寄存器,不是外部IO口,所以默认的电平是0,只有外部IO口, ...
分类:
其他好文 时间:
2021-06-09 10:40:51
阅读次数:
0
官网样例 // Create orders LOAD CSV WITH HEADERS FROM 'https://gist.githubusercontent.com/jexp/054bc6baf36604061bf407aa8cd08608/raw/8bdd36dfc88381995e6823f ...
分类:
其他好文 时间:
2021-06-08 23:43:05
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .box1{ width: 100px; height: 100px; /* * 颜色单位: * 在CSS可以直接 ...
分类:
其他好文 时间:
2021-06-08 23:31:53
阅读次数:
0
import calendar >>> calendar.monthrange(2010,10)[1] 31 >>> calendar.monthrange(2020,3) (6, 31) calendar.monthrange( year , month ) 返回一个tuple,第一个元素是这个月 ...
分类:
编程语言 时间:
2021-06-08 23:21:11
阅读次数:
0
import turtle from random import * from math import * turtle.seth(90) def tree(n,l): turtle.down() turtle.pencolor('#410200') turtle.pensize(n*3) turt ...
分类:
其他好文 时间:
2021-06-08 23:16:21
阅读次数:
0
1.父传子 基本就用一个方式,props Father.vue(用v-bind(简写 : ) 将父组件传的值绑定到子组件上) <template> <div> 我是爸爸:{{message}} <hr> <Son :toSonData="toSonData"></Son> </div></templ ...
分类:
其他好文 时间:
2021-06-08 22:56:30
阅读次数:
0
#include <BRepTools.hxx> #include <Standard_DefineHandle.hxx> #include <DsgPrs_LengthPresentation.hxx> #include <GCPnts_TangentialDeflection.hxx> #inc ...
分类:
其他好文 时间:
2021-06-08 22:52:38
阅读次数:
0