Browse Source

修复创建模板输入框缓存问题

yezehua 6 years ago
parent
commit
2d82c3d825

+ 2 - 1
component/rehabilitation/item-detail.js

@ -31,7 +31,8 @@ var ItemDetail = {
        return {
        	item: {
        		specialistServiceItemDO: {},
        		hospitalName: ""
        		hospitalName: "",
        		hospitalDo: {}
        	},
        	itemTypes: ["","康复服务","健康服务"],
        	itemId: ""

+ 5 - 0
component/rehabilitation/new-template-form.js

@ -15,6 +15,11 @@ var NewTemplateForm = {
        	name:''
        }
    },
    beforeRouteEnter: function (to, from, next) {
	    next(function(vm) {
	    	vm.name = ""
	    })
	},
    mounted: function() {
    	var vm = this