Commit 0904a834 authored by danfuman's avatar danfuman

修改

parent 69ceb835
......@@ -341,22 +341,18 @@
if (this.$route.query.type === '3') {
this.searchParam.companyNatures = ['事业单位', '机关单位'];
}
this.handleQuery();
this.$watch(() => this.$route.params, () => {
this.getCustomerList();
this.getDictType();
this.prvinceTree();
this.handleQuery();
this.searchParam.companyName = '';
// this.$watch(() => this.$route.params, () => {
// this.getCustomerList();
// this.getDictType();
// this.prvinceTree();
// this.handleQuery();
// this.searchParam.companyName = '';
// },
// // 组件创建完后获取数据,
// // 此时 data 已经被 observed 了
// { immediate: true }
// );
},
// 组件创建完后获取数据,
// 此时 data 已经被 observed 了
{ immediate: true }
);
},
methods: {
searchFocus(event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment