Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
7 years ago
Commit
c986562a6941e8324a8971d1fb750e19e155f160
1 parent
1135c5dc
fixed:新品到着参数
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
public/vue/product/new/index.vue
public/vue/product/new/index.vue
View file @
c986562
...
...
@@ -8,6 +8,7 @@
</div>
</template>
<script>
import _ from 'lodash';
import $ from 'jquery';
import yoho from 'yoho';
import Vue from 'vue';
...
...
@@ -102,6 +103,13 @@
if (res.code === 200) {
this.page = res.data.page;
this.totalPage = res.data.page_total;
// yas report param injection
_.each(res.data.product_list, item => {
item.from_page_name = this.pageName;
item.from_page_param = this.query;
});
this.productList = this.productList.concat(res.data.product_list);
if (!this.filterConfig) {
...
...
Please
register
or
login
to post a comment