@uxda/appkit 4.2.72 → 4.2.74

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.
package/dist/index.js CHANGED
@@ -4025,7 +4025,8 @@ var script$l = /* @__PURE__ */ defineComponent({
4025
4025
  async function loadPromoter() {
4026
4026
  const $http = useHttp$3();
4027
4027
  $http.get(endpoints$1.\u83B7\u53D6\u63A8\u5E7F\u65B9\u8D26\u6237\u4FE1\u606F, {
4028
- useCase: tab.value
4028
+ useCase: tab.value,
4029
+ companyFlag: tab.value === "person" ? "2" : "1"
4029
4030
  }).then((data) => {
4030
4031
  promoter.value.balance = data?.balance || 0;
4031
4032
  promoter.value.totalIncome = data?.totalIncome || 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.72",
3
+ "version": "4.2.74",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -105,6 +105,7 @@ async function loadPromoter() {
105
105
  $http
106
106
  .get<Promoter>(endpoints.获取推广方账户信息, {
107
107
  useCase: tab.value,
108
+ companyFlag: tab.value === 'person' ? '2' : '1',
108
109
  })
109
110
  .then((data) => {
110
111
  promoter.value.balance = data?.balance || 0