Commit ef1a8385 by liimin

用户协议根据配置动态显示名称

1 parent bd08613f
......@@ -58,7 +58,7 @@
登录即表明您同意
<a :href="`${$config.cdn}/html/agreement.html`" target="_blank">
<i class="el-icon-d-arrow-left"></i>
<span>嘀加企微管家用户服务协议</span>
<span>{{ $config.customized.title || '' }}用户服务协议</span>
<i class="el-icon-d-arrow-right"></i>
</a>
及
......@@ -248,6 +248,11 @@ export default {
this.code64 = data
this.loginForm.codeToken = token
},
/**
* 根据传入的错误信息和类型,处理错误并重新获取验证码
* @param {string} message - 错误信息
* @param {boolean} isHasMutilMerchants - 是否存在多个商家
*/
error(message, type = this.isHasMutilMerchants) {
this.isLogin = false
~[() => (this.errMsg = message), () => Message.error(message)][+type].call()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!