pages/notice/list.vue
@@ -29,7 +29,18 @@ }, onLoad() { // this.list = [{},{}] this.listApi = '/api/pub/announcement/list' var type = '' // #ifdef PUB_CUSTOMER type = 'customer' // #endif // #ifdef PUB_SUPPLIER type = 'supplier' // #endif // #ifdef PUB_PARTNER type = 'partner' // #endif this.listApi = '/api/pub/announcement/list/'+type this.getList() },