提交内容
This commit is contained in:
parent
72e2b53942
commit
6b8e1bf26f
|
|
@ -50,22 +50,19 @@ export function merPath(path, mer_id, name){
|
|||
* @param {Object} puid
|
||||
*/
|
||||
export function silenceBindingSpread() {
|
||||
let puid = 0;
|
||||
|
||||
//#ifdef H5
|
||||
let puid = Cache.get('spread');
|
||||
puid = Cache.get('spread');
|
||||
//#endif
|
||||
|
||||
//#ifdef MP || APP-PLUS
|
||||
let puid = getApp().globalData.spid;
|
||||
if (!puid) {
|
||||
puid = getApp().globalData.code;
|
||||
}
|
||||
puid = getApp().globalData.spid;
|
||||
if (!puid) puid = getApp().globalData.code;
|
||||
//#endif
|
||||
|
||||
puid = parseInt(puid);
|
||||
if (Number.isNaN(puid)) {
|
||||
puid = 0;
|
||||
}
|
||||
if (Number.isNaN(puid)) puid = 0;
|
||||
if (puid) {
|
||||
|
||||
//#ifdef H5
|
||||
|
|
|
|||
Loading…
Reference in New Issue