超级签自定义名字不能为空

dependabot/npm_and_yarn/fir_admin/path-parse-1.0.7
youngS 3 years ago
parent 83509a79de
commit 5169c8a477
  1. 2
      fir_client/src/components/apps/FirApps.vue
  2. 1
      fir_ser/api/utils/app/apputils.py
  3. 6
      fir_ser/api/views/apps.py

@ -97,7 +97,7 @@
</el-col>
<el-col :span="18">
<div class="grid-content bg-purple">
<el-row :gutter="20" style="margin-top: 8px;">
<el-row :gutter="20" style=" margin-top: 8px;">
<el-col :span="18">
{{ analyseappinfo.version}} (Build {{ analyseappinfo.buildversion}}) {{
analyseappinfo.release_type_id|getiOStype}}

@ -126,6 +126,7 @@ def SaveAppInfos(app_file_name, user_obj, appinfo, bundle_id, app_img, short, si
"user_id": user_obj,
"type": get_app_type(app_file_name),
"name": appinfo["labelname"],
"new_bundle_name": appinfo["labelname"],
"short": short,
"bundle_id": bundle_id,
"count_hits": 0,

@ -208,9 +208,9 @@ class AppInfoView(APIView):
do_sign_flag = 2
apps_obj.new_bundle_name = new_bundle_name
if new_bundle_name == '':
if new_bundle_name != apps_obj.new_bundle_name:
do_sign_flag = 2
apps_obj.new_bundle_name = None
# if new_bundle_name != apps_obj.new_bundle_name:
# do_sign_flag = 2
apps_obj.new_bundle_name = apps_obj.name
apps_obj.wxredirect = data.get("wxredirect", apps_obj.wxredirect)
if apps_obj.type == 1 and data.get('issupersign', -1) != -1:

Loading…
Cancel
Save