1、创建指令文件bthPermission.js,编写自定义指令: import Vue from 'vue'; import api from "api"; /**权限指令**/ const has = Vue.directive('has', { bind: async function (el ...
分类:
其他好文 时间:
2021-03-10 13:37:17
阅读次数:
0
对于 List 集合类,我想大家肯定很了解了,那我想一定也知道集合的顶端接口 Collection。在 Java8 中,Collection 新增了两个流程,分别是 Stream() 和 parallelStream() 通过英文名不难猜测,这两个方法肯定和 Stream 有关,那进一步猜测,是不是 ...
分类:
其他好文 时间:
2021-03-09 13:02:09
阅读次数:
0
flume-netcat-logger.conf 文件编写: # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.s ...
分类:
Web程序 时间:
2021-03-06 14:54:47
阅读次数:
0
组件传参 散记点(父传子) v-bind传入Number,Function,Object等类型 <mycomponent :count="100" :data="{name: "wise"}" :list="['foo','bar']" :action="() => {}"/> 传递组件,组件变量形 ...
分类:
其他好文 时间:
2021-03-06 14:19:47
阅读次数:
0
第一部分:入口函数 js的入口函数:window.onload = function(){alert("页面所有资源加载完后,开始执行")}; jquery的入口函数: 第一种: $(document).ready( function(){ alert("DOM树加载完成后,开始执行") } ); ...
分类:
Web程序 时间:
2021-03-03 12:19:02
阅读次数:
0
#拉取image docker pull redis 配置redis.conf配置文件redis.conf文件存放在成都号1803百度网盘 docker 目录 修改redis.conf配置文件,主要配置的如下: bind 127.0.0.1 #注释掉这部分,使redis可以外部访问 daemoniz ...
分类:
其他好文 时间:
2021-03-01 13:12:31
阅读次数:
0
编程实操 闭包 基础概念 “第一类值” 意味着 Lua 语言中的函数与其他常见类型的值具有同等权限:一个程序可以将某个函数保存到变量中或表中,也可以将某个函数作为参数传递给其他函数,还可以将某个函数作为其他函数的返回值返回。 ”词法定界“ 意味着 Lua 语言中的函数可以访问包含其自身的外部函数中的 ...
分类:
其他好文 时间:
2021-02-19 13:01:16
阅读次数:
0
#!/bin/bashyum install -y readline-devel ncurses-develyum install -y vim make telnet lsof tree rdate ntp gcc gcc-c++ psmisc net-tools \screen expect s ...
分类:
系统相关 时间:
2021-02-18 13:45:26
阅读次数:
0
1.v-bind: v-bind attribute 被称为指令,在这里,该指令的意思是:“将这个元素节点的 title attribute 和 Vue 实例的 message property 保持一致”。 <div id="app"> <span v-bind:title="message"> ...
分类:
其他好文 时间:
2021-02-18 12:54:53
阅读次数:
0
Introduction: It's a paper to reorganize the knowledge of List Rendering in Vue official guide. So a lot of content is from the Vue Official guide. Th ...
分类:
其他好文 时间:
2021-02-16 12:03:49
阅读次数:
0