diff --git a/src/App.vue b/src/App.vue index 9086267..c9cf24b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -83,7 +83,7 @@ const clearAuthData = () => { const RefreshToken = async () => { if (isWeChat.value) { - h5WeixinLogin(); + // h5WeixinLogin(); return; } const token = localStorage.getItem("token"); @@ -95,7 +95,7 @@ const RefreshToken = async () => { const accessExpireInMilliseconds = parseInt(accessExpire) * 1000; // 转换为毫秒级 if (currentTime > accessExpireInMilliseconds) { if (isWeChat.value) { - h5WeixinLogin(); + // h5WeixinLogin(); } return; } @@ -103,7 +103,7 @@ const RefreshToken = async () => { // 1. 如果没有 token,直接返回 if (!token) { if (isWeChat.value) { - h5WeixinLogin(); + // h5WeixinLogin(); } return; } @@ -207,7 +207,7 @@ const h5WeixinGetCode = () => { diff --git a/src/components/Authorization.vue b/src/components/Authorization.vue index 178a8c9..990d3de 100644 --- a/src/components/Authorization.vue +++ b/src/components/Authorization.vue @@ -64,7 +64,7 @@ 本人有权随时撤回本授权书中的授权,但撤回前的授权行为及其法律后果仍具有法律效力。若需撤回授权,本人可通过贵司官方渠道提交书面申请,贵司将在收到申请后依法停止对本人数据的使用。
  • - 你通过“天远数据”,自愿支付相应费用,用于购买海南海宇大数据有限公司的大数据报告产品。如若对产品内容存在异议,可通过邮箱admin@iieeii.com或APP“联系客服”按钮进行反馈,贵司将在收到异议之日起20日内进行核查和处理,并将结果答复。 + 你通过“智能查”,自愿支付相应费用,用于购买海南海宇大数据有限公司的大数据报告产品。如若对产品内容存在异议,可通过邮箱admin@iieeii.com或APP“联系客服”按钮进行反馈,贵司将在收到异议之日起20日内进行核查和处理,并将结果答复。
  • 你向海南海宇大数据有限公司的支付方式为:海南海宇大数据有限公司及其经官方授权的相关企业的支付宝账户。 diff --git a/src/components/ClickCaptcha.vue b/src/components/ClickCaptcha.vue index 87cf7e5..a79ade6 100644 --- a/src/components/ClickCaptcha.vue +++ b/src/components/ClickCaptcha.vue @@ -199,7 +199,7 @@ function handleConfirm() { .slice(0, 4) .map(item => item.char) .join('') - if (userSeq === '天远数据') { + if (userSeq === '智能查') { successMessage.value = '验证成功!' setTimeout(() => emit('success'), 600) } else { diff --git a/src/components/PriceInputPopup.vue b/src/components/PriceInputPopup.vue index 839c856..a014190 100644 --- a/src/components/PriceInputPopup.vue +++ b/src/components/PriceInputPopup.vue @@ -11,7 +11,7 @@
    @@ -25,7 +25,7 @@
    推广收益 = 客户查询价 - 我的成本
    我的成本 = 提价成本 + 底价成本
    提价成本:超过平台标准定价部分,平台会收取部分成本价
    -
    设定范围:{{ +
    设定范围:{{ productConfig.price_range_min }}元 - {{ productConfig.price_range_max }}
    @@ -44,7 +44,8 @@ const props = defineProps({ }, productConfig: { type: Object, - required: true + required: false, + default: null } }) const { defaultPrice, productConfig } = toRefs(props) @@ -86,6 +87,9 @@ const promotionRevenue = computed(() => { // 价格校验与修正逻辑 const validatePrice = (currentPrice) => { + if (!productConfig.value) { + return { newPrice: defaultPrice.value || 0, message: '产品配置未加载' }; + } const min = productConfig.value.price_range_min; const max = productConfig.value.price_range_max; let newPrice = Number(currentPrice); diff --git a/src/components/QrcodePop.vue b/src/components/QrcodePop.vue index 885f978..109d872 100644 --- a/src/components/QrcodePop.vue +++ b/src/components/QrcodePop.vue @@ -2,7 +2,7 @@ qrcode
    - 更多服务请关注天远数据公众号 + 更多服务请关注智能查公众号
    diff --git a/src/views/Promote.vue b/src/views/Promote.vue index 12b9b67..f7d85ec 100644 --- a/src/views/Promote.vue +++ b/src/views/Promote.vue @@ -188,6 +188,10 @@ const SelectTypePicker = (reportType) => { selectedReportType.value = [reportType]; pickerFieldText.value = reportType.text; pickerFieldVal.value = reportType.value; + if (!productConfig.value || !Array.isArray(productConfig.value)) { + console.warn('productConfig is not available or not an array'); + return; + } for (let i of productConfig.value) { if (i.product_id === reportType.id) { pickerProductConfig.value = i