var NewTemplate = { template: '
\
\ 模板未命名\
\
\ \
\
\ 创建新模板\
\
', props: [], data: function() { return { } }, mounted: function() { var vm = this }, methods: { newTemplate: function() { var vm = this vm.$router.push('/new-template-form') } } }