diff --git a/fir_client/src/components/FirBase.vue b/fir_client/src/components/FirBase.vue index e3930a5..359c2bd 100644 --- a/fir_client/src/components/FirBase.vue +++ b/fir_client/src/components/FirBase.vue @@ -6,7 +6,7 @@ :close-on-press-escape="false" :visible.sync="bind_domain_sure" width="666px"> - + @@ -17,7 +17,8 @@ :closable="false" effect="dark">
- 应用分发请绑定您自己的域名,平台分发域名可能因不可违因素更换,将导致您的应用无法访问 + 应用分发请绑定您自己的域名,平台分发域名可能因不可违因素更换,将导致您的应用无法访问 立即绑定
@@ -84,7 +85,7 @@ '$store.state.domain_action': function () { if (this.$store.state.domain_action) { this.$store.dispatch("dodomainaction", false); - this.bind_domain_sure=true; + this.bind_domain_sure = true; } }, } diff --git a/fir_client/src/components/apps/FirAppInfossecurity.vue b/fir_client/src/components/apps/FirAppInfossecurity.vue index a164ee8..369da9d 100644 --- a/fir_client/src/components/apps/FirAppInfossecurity.vue +++ b/fir_client/src/components/apps/FirAppInfossecurity.vue @@ -49,7 +49,7 @@ - 保存 diff --git a/fir_client/src/components/base/BindDomain.vue b/fir_client/src/components/base/BindDomain.vue index 15be676..6b0b036 100644 --- a/fir_client/src/components/base/BindDomain.vue +++ b/fir_client/src/components/base/BindDomain.vue @@ -1,136 +1,138 @@ diff --git a/fir_client/src/components/user/FirUserProfileInfo.vue b/fir_client/src/components/user/FirUserProfileInfo.vue index 271573f..0703c1c 100644 --- a/fir_client/src/components/user/FirUserProfileInfo.vue +++ b/fir_client/src/components/user/FirUserProfileInfo.vue @@ -160,7 +160,7 @@ - diff --git a/fir_ser/api/utils/serializer.py b/fir_ser/api/utils/serializer.py index c5113d1..d25ef21 100644 --- a/fir_ser/api/utils/serializer.py +++ b/fir_ser/api/utils/serializer.py @@ -137,6 +137,11 @@ class AppsSerializer(serializers.ModelSerializer): def get_preview_url(self, obj): return get_redirect_server_domain(None, obj.user_id, get_app_domain_name(obj)) + domain_name = serializers.SerializerMethodField() + + def get_domain_name(self, obj): + return get_app_domain_name(obj) + sign_type_choice = serializers.SerializerMethodField() def get_sign_type_choice(self, obj):