添加图标和组件
This commit is contained in:
@@ -3,7 +3,10 @@ Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: { label: null },
|
||||
properties: {
|
||||
label: null,
|
||||
placeholder: null,
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<t-input label="{{label}}" bind:change="onChange" bind:clear="onClear" clearable />
|
||||
<t-input label="{{label||''}}" placeholder="{{placeholder || label || '' }}" bind:change="onChange"
|
||||
bind:clear="onClear" clearable />
|
||||
Reference in New Issue
Block a user