Просмотр исходного кода

fix(活动邀请好友赚星币): 修复取值错误

曾志翔 лет назад: 2
Родитель
Сommit
a856b2c1b0

+ 2 - 2
modules/vee-validate/plugin.js

@@ -14,7 +14,7 @@ extend('phone', {
     if (/1\d{10}/.test(value)) {
       return true;
     }
-    return '{_field_}不正确,请重新输入!';
+    return '请输入11位长度{_field_}';
     // return {
     //   valid: false,
     //   required: true,
@@ -27,6 +27,6 @@ extend('code', {
     if (/\d{6}/.test(value)) {
       return true;
     }
-    return '{_field_}不正确,请重新输入';
+    return '请输入6位{_field_}';
   },
 });

+ 1 - 1
pages/activity/invite-user/index.vue

@@ -129,7 +129,7 @@ export default {
       return [
         { label: '今日收益(星币)', value: this.data.todayIncomeStarCoin },
         { label: '总收益(星币)', value: this.data.totalIncomeStarCoin },
-        { label: '今日购买订单数', value: this.data.totalBuyOrderCount },
+        { label: '今日购买订单数', value: this.data.todayBuyOrderSuccessCount },
         { label: '累计推广订单', value: this.data.totalBuyOrderCount },
         {
           label: '今日购买成功客户',

+ 1 - 1
pages/activity/invite-user/register.vue

@@ -28,7 +28,7 @@
             </validation-provider>
             <validation-provider
               v-slot="{ errors }"
-              name="验证码"
+              name="短信验证码"
               rules="code"
               slim
             >