Skip to content

Commit

Permalink
form/Form.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
szuprefix committed Sep 27, 2019
1 parent 7afc0f8 commit e23a8ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/auth/change_password.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<rest-form formUrl="/auth/user/change_password/" :formItems="fieldItems" v-model="form"
<rest-form url="/auth/user/change_password/" :items="items" v-model="form"
formSubmitName="修改密码"></rest-form>
</template>
<script>
import RestForm from '../../components/rest/Form.vue'
import RestForm from '../../components/form/Form.vue'
export default{
data () {
return {
fieldItems: [
items: [
{name: 'old_password', label: '原密码', required: true, widget: 'password', span: 24},
{name: 'new_password1', label: '新密码', required: true, widget: 'password', span: 24},
{
Expand Down

0 comments on commit e23a8ce

Please sign in to comment.