Commit 44ec7684 by 李嘉林

feat: 新用户绑定关系优化

parent 1ccd41d1
......@@ -873,7 +873,7 @@ export default {
app.fenxiaoModel.becomeRelation(extConfig).then(res=>{
log.info('getSpokesmanInit调用becomeRelation')
log.info(res,'getSpokesmanInit-becomeRelation');
if(res) {
if(res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo"
});
......
......@@ -666,7 +666,7 @@ export default {
app.fenxiaoModel.becomeRelation(wx.getStorageSync("becomeInfo")?JSON.parse(wx.getStorageSync("becomeInfo")):'').then(res=>{
log.info('pushPageType调用becomeRelation-381')
log.info(res,'pushPageType-becomeRelation')
if(res) {
if(res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo"
});
......
......@@ -282,7 +282,7 @@ export default {
getSpokesmanInit(extConfig) {
//绑定上下级关系
app.fenxiaoModel.becomeRelation(extConfig).then(res => {
if (res) {
if (res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo"
});
......
......@@ -138,7 +138,7 @@ export default {
getSpokesmanInit(extConfig) {
//绑定上下级关系
app.fenxiaoModel.becomeRelation(extConfig).then((res) => {
if (res) {
if (res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo",
});
......
......@@ -138,7 +138,7 @@ export default {
getSpokesmanInit(extConfig) {
//绑定上下级关系
app.fenxiaoModel.becomeRelation(extConfig).then((res) => {
if (res) {
if (res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo",
});
......
......@@ -138,7 +138,7 @@ export default {
getSpokesmanInit(extConfig) {
//绑定上下级关系
app.fenxiaoModel.becomeRelation(extConfig).then((res) => {
if (res) {
if (res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo",
});
......
......@@ -138,7 +138,7 @@ export default {
getSpokesmanInit(extConfig) {
//绑定上下级关系
app.fenxiaoModel.becomeRelation(extConfig).then((res) => {
if (res) {
if (res && res.data == 'true') {
wx.removeStorage({
key: "becomeInfo",
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment