创建采购合同:reload刷新页;readonly合同总额;限制规定到货时间;

This commit is contained in:
chenjianan
2018-11-17 10:21:12 +08:00
parent 9d70d2a3e0
commit b369087c65
2 changed files with 25 additions and 7 deletions

View File

@@ -1,11 +1,29 @@
<template>
<div id="app">
<router-view/>
<router-view v-if="isRouterAlive"/>
</div>
</template>
<script>
export default {
name: 'App'
name: 'App',
provide() {
return {
reload: this.reload
}
},
data() {
return {
isRouterAlive: true
}
},
methods: {
reload() {
this.isRouterAlive = false
this.$nextTick(function() {
this.isRouterAlive = true
})
}
}
}
</script>