onShow
This commit is contained in:
		@@ -67,8 +67,10 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  created() {
 | 
			
		||||
    this.checkAccess()
 | 
			
		||||
  },
 | 
			
		||||
  onShow() {
 | 
			
		||||
    document.title = "问卷调查"
 | 
			
		||||
  }
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -58,10 +58,10 @@ export default {
 | 
			
		||||
 | 
			
		||||
  onLoad(opt) {
 | 
			
		||||
    this.index = opt.index
 | 
			
		||||
    document.title = opt.index == 0 ? "历史会议" : "草稿箱"
 | 
			
		||||
  },
 | 
			
		||||
  onShow() {
 | 
			
		||||
    this.getData();
 | 
			
		||||
    document.title = opt.index == 0 ? "历史会议" : "草稿箱"
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    detail({id}) {
 | 
			
		||||
 
 | 
			
		||||
@@ -29,11 +29,13 @@ export default {
 | 
			
		||||
    this.getList();
 | 
			
		||||
  },
 | 
			
		||||
  created() {
 | 
			
		||||
    document.title = "接收对象";
 | 
			
		||||
    this.injectJWeixin().then(() => {
 | 
			
		||||
      this.getList();
 | 
			
		||||
    })
 | 
			
		||||
  },
 | 
			
		||||
  onShow() {
 | 
			
		||||
    document.title = '接收对象'
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    ...mapActions(['previewFile', 'injectJWeixin']),
 | 
			
		||||
    getList() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user