geer-builder 1.2.673 → 1.2.674

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -226,16 +226,25 @@ export default
226
226
  },
227
227
  async checkFixSponsor()
228
228
  {
229
+
229
230
  if(this.user_info.hasOwnProperty('sponsor') && this.user_info.slot_owned == 0)
230
231
  {
231
232
  this.fixed_sponsor = true;
232
233
  this.field.sponsor = this.user_info.sponsor;
233
234
  }
234
235
 
236
+ if(this.user_info.hasOwnProperty('sponsor') && this.public_settings.hasOwnProperty("autofill_by_referral_sponsor") && this.public_settings.autofill_by_referral_sponsor == true)
237
+ {
238
+ this.fixed_sponsor = true;
239
+ this.field.sponsor = this.user_info.sponsor;
240
+ }
241
+
235
242
  if(this.is_enable_all_sponsor == true)
236
243
  {
237
244
  this.fixed_sponsor = false;
238
245
  }
246
+
247
+ // console.log(this.fixed_sponsor,this.field.sponsor);
239
248
  },
240
249
  async verifyCode()
241
250
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.673",
3
+ "version": "1.2.674",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {