parent
7219839a2e
commit
3371e1902f
@ -0,0 +1,28 @@
|
|||||||
|
// components/UpImg/UpImg.js
|
||||||
|
Component({
|
||||||
|
/**
|
||||||
|
* 组件的属性列表
|
||||||
|
*/
|
||||||
|
properties: {
|
||||||
|
src:{
|
||||||
|
// 类型是字符串
|
||||||
|
type:String,
|
||||||
|
// 默认是空字符串
|
||||||
|
value:""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 组件的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 组件的方法列表
|
||||||
|
*/
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in new issue