onShow
This commit is contained in:
@@ -47,10 +47,12 @@ export default {
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(o) {
|
||||
document.title = '新增通知公告'
|
||||
this.id = o.id
|
||||
this.getDetail()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '新增通知公告'
|
||||
},
|
||||
|
||||
mounted() {},
|
||||
methods: {
|
||||
|
||||
@@ -78,14 +78,15 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
document.title = '通知公告'
|
||||
this.getList()
|
||||
uni.$on('updateList', () => {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {},
|
||||
onShow() {
|
||||
document.title = '通知公告'
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http
|
||||
|
||||
Reference in New Issue
Block a user