mirror of https://github.com/ElemeFE/element
commit
66c68d1527
|
@ -4,14 +4,17 @@
|
||||||
|
|
||||||
*2016-09-02*
|
*2016-09-02*
|
||||||
|
|
||||||
- 修复 upload 上传的问题,并增加上传成功和失败的钩子函数
|
- 修复 Upload 上传的问题,并增加上传成功和失败的钩子函数
|
||||||
- button 组件增加 `nativeType` 属性,用于组件内 `<button>` 标签的 `type` 属性,默认值为 `'button'
|
- Button 组件增加 `nativeType` 属性,用于组件内 `<button>` 标签的原生 `type` 属性,默认值为 `button`
|
||||||
- 修复 Table 自定义模板中渲染静态数据错误
|
- 修复 Table 自定义模板中渲染静态数据错误
|
||||||
|
- 修复 Table 中被固定列的高度不与其他列的高度协调的问题
|
||||||
- 修复 TimePicker 的 `picker-options` 属性
|
- 修复 TimePicker 的 `picker-options` 属性
|
||||||
|
- 修复一些组件图标丢失的问题
|
||||||
|
- 修复远程搜索的 Select 在 Form 中的显示问题
|
||||||
|
|
||||||
### 1.0.0-rc.1
|
### 1.0.0-rc.1
|
||||||
|
|
||||||
*2016-08-30*
|
*2016-08-30*
|
||||||
|
|
||||||
- 迁移到 Vue 2.0.0 RC runtime only build。
|
- 迁移到 Vue 2.0.0 RC runtime only build。
|
||||||
- 增加了更多的组件包括 row 、column 、badge、card、rate、steps等等。
|
- 增加了更多的组件,包括 Row、Column、Badge、Card、Rate、Steps 等。
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
### 基本用法
|
### 基本用法
|
||||||
|
|
||||||
页面中的非浮层,不会自动消失
|
页面中的非浮层元素,不会自动消失
|
||||||
|
|
||||||
::: demo Alert 组件提供四种主题,由`type`属性指定,默认值为`info`。
|
::: demo Alert 组件提供四种主题,由`type`属性指定,默认值为`info`。
|
||||||
```html
|
```html
|
||||||
|
|
|
@ -165,7 +165,7 @@ Dialog 组件的正文标题可以是任意的,甚至可以是表格或表单
|
||||||
<el-input :model.sync="form.name" auto-complete="off"></el-input>
|
<el-input :model.sync="form.name" auto-complete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="活动区域" :label-width="formLabelWidth">
|
<el-form-item label="活动区域" :label-width="formLabelWidth">
|
||||||
<el-select :value.sync="form.region" :width="300" placeholder="请选择活动区域">
|
<el-select :value.sync="form.region" placeholder="请选择活动区域">
|
||||||
<el-option label="区域一" value="shanghai"></el-option>
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
<el-option label="区域二" value="beijing"></el-option>
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
|
@ -200,6 +200,9 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.demo-form {
|
.demo-form {
|
||||||
|
.el-select .el-input {
|
||||||
|
width: 360px;
|
||||||
|
}
|
||||||
.el-form {
|
.el-form {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
}
|
}
|
||||||
|
@ -262,6 +265,10 @@
|
||||||
.el-textarea {
|
.el-textarea {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-select .el-input {
|
||||||
|
width: 360px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.demo-dynamic {
|
.demo-dynamic {
|
||||||
.el-input {
|
.el-input {
|
||||||
|
@ -291,7 +298,7 @@
|
||||||
<el-input v-model="form.name"></el-input>
|
<el-input v-model="form.name"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="活动区域">
|
<el-form-item label="活动区域">
|
||||||
<el-select v-model="form.region" :width="360" placeholder="请选择活动区域">
|
<el-select v-model="form.region" placeholder="请选择活动区域">
|
||||||
<el-option label="区域一" value="shanghai"></el-option>
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
<el-option label="区域二" value="beijing"></el-option>
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
@ -366,7 +373,7 @@
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
||||||
</el-form-item><el-form-item>
|
</el-form-item><el-form-item>
|
||||||
<el-select v-model="formInline.region" :width="150" placeholder="活动区域">
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
<el-option label="区域一" value="shanghai"></el-option>
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
<el-option label="区域二" value="beijing"></el-option>
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
@ -502,7 +509,7 @@
|
||||||
<el-input v-model="ruleForm.name"></el-input>
|
<el-input v-model="ruleForm.name"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="活动区域" prop="region">
|
<el-form-item label="活动区域" prop="region">
|
||||||
<el-select v-model="ruleForm.region" :width="360" placeholder="请选择活动区域">
|
<el-select v-model="ruleForm.region" placeholder="请选择活动区域">
|
||||||
<el-option label="区域一" value="shanghai"></el-option>
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
<el-option label="区域二" value="beijing"></el-option>
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
|
@ -116,6 +116,9 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.demo-input {
|
.demo-input {
|
||||||
|
.el-select .el-input {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
.text {
|
.text {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #8492a6;
|
color: #8492a6;
|
||||||
|
@ -248,7 +251,7 @@
|
||||||
<template slot="append">.com</template>
|
<template slot="append">.com</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input placeholder="请输入内容" v-model="input5" style="width: 300px;">
|
<el-input placeholder="请输入内容" v-model="input5" style="width: 300px;">
|
||||||
<el-select v-model="select" slot="prepend" :width="100">
|
<el-select v-model="select" slot="prepend">
|
||||||
<el-option label="餐厅名" value="1"></el-option>
|
<el-option label="餐厅名" value="1"></el-option>
|
||||||
<el-option label="订单号" value="2"></el-option>
|
<el-option label="订单号" value="2"></el-option>
|
||||||
<el-option label="用户电话" value="3"></el-option>
|
<el-option label="用户电话" value="3"></el-option>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$notify({
|
this.$notify({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
messgae: '取消输入'
|
message: '取消输入'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue