first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
// component/header/header.js
Component({
options: {
// 启用别名插槽
multipleSlots: true
},
/**
* 组件的属性列表
*/
properties: {
title: {
type: String,
value: '默认标题'
}
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
sendClick() {
this.triggerEvent("click", "子组件给父组件的")
}
}
})