|
@@ -215,7 +215,7 @@ var supplierHome = new Vue({
|
|
created: function () {
|
|
created: function () {
|
|
// this.params.id = getUrlParam("id") ? getUrlParam("id") * 1 : 0;
|
|
// this.params.id = getUrlParam("id") ? getUrlParam("id") * 1 : 0;
|
|
var paramsArr = window.location.pathname.split(".")[0].split("-");
|
|
var paramsArr = window.location.pathname.split(".")[0].split("-");
|
|
- this.params.id = this.handleShopId = paramsArr.length>=1 ? paramsArr[1]*1 : 0;
|
|
|
|
|
|
+ this.params.id = this.cmSysParams.shopId = this.handleShopId = paramsArr.length>=1 ? paramsArr[1]*1 : 0;
|
|
this.cmSysParams.pageType = 14;
|
|
this.cmSysParams.pageType = 14;
|
|
this.cmSysParams.pageLabel = `供应商主页`;//设置统计数据标签
|
|
this.cmSysParams.pageLabel = `供应商主页`;//设置统计数据标签
|
|
if(this.params.id !== 0) {
|
|
if(this.params.id !== 0) {
|