|
|
@@ -58,18 +58,18 @@ export default {
|
|
|
finished: true,
|
|
|
};
|
|
|
},
|
|
|
- created() {
|
|
|
+ activated() {
|
|
|
this.approveList();
|
|
|
},
|
|
|
watch: {
|
|
|
$route(to, from) {
|
|
|
- if (to.path == '/clew' && from.path == '/My/index') {
|
|
|
- this.approveList();
|
|
|
- }
|
|
|
- if (to.path == '/clew' && from.path == '/clewent') {
|
|
|
- this.pageNum = 1;
|
|
|
- this.approveList();
|
|
|
- }
|
|
|
+ // if (to.path == '/clew' && from.path == '/My/index') {
|
|
|
+ // this.approveList();
|
|
|
+ // }
|
|
|
+ // if (to.path == '/clew' && from.path == '/clewent') {
|
|
|
+ // this.pageNum = 1;
|
|
|
+ // this.approveList();
|
|
|
+ // }
|
|
|
},
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|