|
|
@@ -31,7 +31,8 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-checkbox name="type" v-model="checked" @click="checkboxIsChecked"></el-checkbox>
|
|
|
- <span class="agree">我已阅读并同意 <a href="/common/agreement">《优软云服务条款》</a></span>
|
|
|
+ <span class="agree" v-if="JSON.parse(agreementUrl.terms).isUrl || ''">我已阅读并同意 <a href="/common/agreement">《优软云服务条款》</a></span>
|
|
|
+ <span class="agree" v-else>我已阅读并同意<a :href="`/common/cityAgreement/?appId=${this.$route.query.appId}`">《{{JSON.parse(agreementUrl.terms).name || ''}}》</a></span>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -548,6 +549,10 @@
|
|
|
computed: {
|
|
|
loginStyle () {
|
|
|
return this.$store.state.login.loginStyle.data.content
|
|
|
+ },
|
|
|
+ agreementUrl () {
|
|
|
+ console.log('agreementUrl', this.$store.state.login.agreementUrl.data.content)
|
|
|
+ return this.$store.state.login.agreementUrl.data.content
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|