bladex前端ui项目,基于avue-cli2.0开发
包含基础工作流,不包含表单设计器
https://git.javablade.com/blade/Saber
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
|
3 years ago
|
<template>
|
||
|
|
<basic-container>
|
||
|
|
<h3>表单例子</h3>
|
||
|
|
<avue-form :option="option"
|
||
|
|
v-model="form"></avue-form>
|
||
|
|
</basic-container>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
form: {},
|
||
|
|
option: {
|
||
|
|
labelWidth: 110,
|
||
|
|
column: [
|
||
|
|
{
|
||
|
|
label: "用户名",
|
||
|
|
prop: "username",
|
||
|
|
row: true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "密码",
|
||
|
|
prop: "password",
|
||
|
|
type: "password",
|
||
|
|
row: true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "再次输入密码",
|
||
|
|
prop: "password",
|
||
|
|
type: "newpassword",
|
||
|
|
row: true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "申请日期",
|
||
|
|
prop: "date",
|
||
|
|
type: "date",
|
||
|
|
row: true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
label: "个性签名",
|
||
|
|
prop: "textarea",
|
||
|
|
type: "textarea",
|
||
|
|
minRows: 8,
|
||
|
|
row: true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
</style>
|