1:传值 隔代传值通过v-bind = “$attrs”. 2:传方法 v-on=“$listeners” 就可以在子组件调用父组件的方法 ,this.$emit("methodsFromParent") 3:子传父 slot 孩子: <slot name="aa" :foo="'foooooooo ...
分类:
其他好文 时间:
2021-04-06 14:17:01
阅读次数:
0
SpringBoot发送邮件 1、pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</ ...
分类:
编程语言 时间:
2021-04-06 14:13:11
阅读次数:
0
今天采用ajax和HTML的方式在昨天SSM框架的基础上实现了相同的功能,之前是采用jsp和el表达式实现的,并同步到了Github。 https://github.com/Caitlyn-bot/SSMBuild 通过完美的代价一题(将字符串转为回文)加深了对递归算法和贪心的理解。 ...
分类:
其他好文 时间:
2021-04-06 14:11:48
阅读次数:
0
mount [-t 文件系统] [-L Label 名] [-o 额外选项] \[-n] 设备文件名挂载点 -a 依照配置文件 /etc/fstab 的数据将所有未挂载的磁盘都挂载上来 -l 单纯输入mount 会显示目前的挂载的信息,加上-l 可增加label 名称 -n 在默认的情况下 系统会将 ...
分类:
系统相关 时间:
2021-04-02 12:53:40
阅读次数:
0
package com.tianee.webframe.util.tree; import java.beans.IntrospectionException; import java.lang.reflect.InvocationTargetException; import java.lang. ...
分类:
其他好文 时间:
2021-04-01 13:43:38
阅读次数:
0
组件 <template> <div> <div>{{val}}</div> <el-button type="success" @click="getClick">点击</el-button> </div> </template> <script> import mixins from '@/mi ...
分类:
其他好文 时间:
2021-04-01 13:18:02
阅读次数:
0
df 列出文件系统整体的磁盘使用量 du检查当前磁盘空间的使用量 du -a 可以看到子文件夹 检查根目录下每个目录所占用的容量 [root@linuxvm home]# du -sm /* mount /dev/test /mnt/test 将外部设备test挂载在mnt下来实现访问 卸载umou ...
分类:
系统相关 时间:
2021-04-01 13:00:15
阅读次数:
0
// 下面value没有冒号,说明是字符串,只要给前面加上冒号就行了 <Select v-model="roleName"> <Option value=1>哈哈</Option> <Option value=0>呵呵</Option> </Select> // 这里通过 :value 绑定了为数字 ...
分类:
其他好文 时间:
2021-03-31 12:34:02
阅读次数:
0
1、引入依赖 <dependency> <groupId>com.aspose.words</groupId> <artifactId>aspose-words-18.8-jdk16-crack</artifactId> <version>18.8</version> </dependency> 2 ...
分类:
Web程序 时间:
2021-03-31 12:09:50
阅读次数:
0
参照:elementUI官方文档 https://element.eleme.cn/#/zh-CN/component/form 常见错误,几个要点: <template>中 1.<el-form>标签中, model 和 rules属性 未填 2.<el-form-item>标签中,prop属性 ...
分类:
其他好文 时间:
2021-03-30 13:56:39
阅读次数:
0