diff --git a/static/js/request.js b/static/js/request.js index f81f834..95c629b 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -3,10 +3,10 @@ import store from '@/store'; // 定义 API URL // const DEV_API_URL = 'https://api.cloud.sz-trip.com'; -const DEV_API_URL = 'https://api.sutenong.com' -const PROD_API_URL = 'https://api.sutenong.com'; -// const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; -// const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; +// const DEV_API_URL = 'https://api.sutenong.com' +// const PROD_API_URL = 'https://api.sutenong.com'; +const DEV_API_URL = 'https://swsz.api.js-dyyj.com'; +const PROD_API_URL = 'https://swsz.api.js-dyyj.com'; const NEWAPIURL = process.env.NODE_ENV === 'development' ? DEV_API_URL : PROD_API_URL; // 获取token diff --git a/subPackages/techan/index.vue b/subPackages/techan/index.vue index 63a7bed..b33d5d6 100644 --- a/subPackages/techan/index.vue +++ b/subPackages/techan/index.vue @@ -356,7 +356,6 @@ this.typeChildIndex=i this.finished = false this.list = [] - this.getChildType() this.getList() } },