1.父传子 基本就用一个方式,props Father.vue(用v-bind(简写 : ) 将父组件传的值绑定到子组件上) <template> <div> 我是爸爸:{{message}} <hr> <Son :toSonData="toSonData"></Son> </div></templ ...
分类:
其他好文 时间:
2021-06-08 22:56:30
阅读次数:
0
仿照页面 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>头条页面</title> < ...
分类:
其他好文 时间:
2021-06-08 22:35:14
阅读次数:
0
这里稍微复杂了点,定义视图A的过程是一样的: <UserControl x:Class="ViewInjection.Views.ViewA" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="htt ...
分类:
其他好文 时间:
2021-06-07 20:43:44
阅读次数:
0
import javax.xml.bind.SchemaOutputResolver; public class demo03 { public static void main(String[] args) { //整数拓展; 进制 二进制0b 十进制 八进制0 十六进制0x int i=10; ...
分类:
其他好文 时间:
2021-06-07 20:12:14
阅读次数:
0
1、进入Maven仓库的主页 maven官网:https://mvnrepository.com/ 2、搜索自己要使用的依赖jar包并下载文档 以yzk18-GUI为例点击进入: 选择一个最新的版本: 点击View All: 点击xxx-javadoc.jar,然后进行下载: 3、查看文档 将之前下 ...
分类:
其他好文 时间:
2021-06-06 19:39:00
阅读次数:
0
缩写 v-bind缩写:直接去掉v-bind,如 <!-- 完整语法 --> <a v-bind:href="url">...</a> <!-- 缩写 --> <a :href="url">...</a> v-on缩写:将v-on:写成@,如 <!-- 完整语法 --> <a v-on:click= ...
分类:
其他好文 时间:
2021-06-06 18:59:58
阅读次数:
0
创建表 create table agg_source( \ id UInt8, \ name String, \ city String, \ money UInt32 \ ) engine=MergeTree() \ partition by city \ order by id; 插入数据 i ...
分类:
其他好文 时间:
2021-06-05 18:20:32
阅读次数:
0
Connect Vagrant VM by using Xshell 1. View your vagrant ssh-config type this commend to view your vagrant ssh-config: vagrant ssh-config you will get ...
分类:
系统相关 时间:
2021-06-05 17:39:35
阅读次数:
0
1.打开idea2.点击右边侧边栏DataBase,点击加号,进行添加Data Soure 如果找不到,可以试试从导航栏找 View-Tool Windows-DataBase3.配置连接及测试下载jar包 点击右上角的加号箭头,点击第一个,可以查看自己下载的路径 测试成功之后才能进行连接 最近单位 ...
分类:
数据库 时间:
2021-06-04 19:17:46
阅读次数:
0
1. 我们在 React class Component 绑定事件时,经常会通过 bind(this) 来绑定事件 class Home extends React.Component{ constructor( props ){ super( props ); } handleClick(even ...
分类:
其他好文 时间:
2021-06-03 18:04:10
阅读次数:
0