Browse Source

fix[litemall-vue]: #I12O8P

Junling Bu 6 years ago
parent
commit
5238b74e17

+ 1 - 1
litemall-vue/src/views/login/forget/index.vue

@@ -11,7 +11,7 @@
 			placeholder="请输入短信验证码"
 		>
 			<div slot="rightIcon" @click="getCode" class="getCode red">
-				<countdown v-if="counting" :time="60000" @countdownend="countdownend">
+				<countdown v-if="counting" :time="60000" @end="countdownend">
 				  <template slot-scope="props">{{ +props.seconds || 60 }}秒后获取</template>
 				</countdown>
 				<span v-else>获取验证码</span>

+ 1 - 1
litemall-vue/src/views/login/register-submit/index.vue

@@ -2,7 +2,7 @@
 	<md-field-group class="register_submit">
 		<md-field v-model="code" icon="mobile" placeholder="请输入验证码">
 			<div slot="rightIcon" @click="getCode" class="getCode red">
-				<countdown v-if="counting" :time="60000" @countdownend="countdownend">
+				<countdown v-if="counting" :time="60000" @end="countdownend">
 				  <template slot-scope="props">{{ +props.seconds || 60 }}秒后获取</template>
 				</countdown>
 				<span v-else>获取验证码</span>

+ 1 - 1
litemall-vue/src/views/user/user-information-set/set-mobile/index.vue

@@ -24,7 +24,7 @@
 					class="verifi_code red"
 					:class="{verifi_code_counting: counting}"
 					@click="getCode">
-					<countdown v-if="counting" :time="60000" @countdownend="countdownend">
+					<countdown v-if="counting" :time="60000" @end="countdownend">
 					  <template slot-scope="props">{{ +props.seconds || 60 }}秒后获取</template>
 					</countdown>
 					<span v-else>获取验证码</span>

+ 1 - 1
litemall-vue/src/views/user/user-information-set/set-password/index.vue

@@ -19,7 +19,7 @@
 					class="verifi_code red"
 					:class="{verifi_code_counting: counting}"
 					@click="getCode">
-					<countdown v-if="counting" :time="60000" @countdownend="countdownend">
+					<countdown v-if="counting" :time="60000" @end="countdownend">
 					  <template slot-scope="props">{{ +props.seconds || 60 }}秒后获取</template>
 					</countdown>
 					<span v-else>获取验证码</span>