fix: 移除扫码页出证总开关
This commit is contained in:
@@ -806,8 +806,7 @@
|
||||
"tianheVerifyOk": "Verified. On-chain identity saved",
|
||||
"tianheManualHint": "Enter the saved User ID and User Key. The system verifies them with TiChain before saving (for reusing the existing wallet after reinstall/migration).",
|
||||
"tianheManualUserIdPh": "e.g. artveris-platform",
|
||||
"tianheManualUserKeyPh": "The User Key you saved offline",
|
||||
"certificateEnabled": "On-demand certificates"
|
||||
"tianheManualUserKeyPh": "The User Key you saved offline"
|
||||
},
|
||||
"profile": {
|
||||
"title": "Personal Info",
|
||||
|
||||
@@ -806,8 +806,7 @@
|
||||
"tianheVerifyOk": "校验通过,链上身份已保存",
|
||||
"tianheManualHint": "输入已保存的 User ID 与 User Key,系统将向天河链校验后保存(用于重装/迁移后复用既有钱包)。",
|
||||
"tianheManualUserIdPh": "如 artveris-platform",
|
||||
"tianheManualUserKeyPh": "已离线保存的 User Key",
|
||||
"certificateEnabled": "扫码页按需出证"
|
||||
"tianheManualUserKeyPh": "已离线保存的 User Key"
|
||||
},
|
||||
"profile": {
|
||||
"title": "个人信息",
|
||||
|
||||
@@ -93,9 +93,6 @@
|
||||
<n-form-item :label="t('pages.settings.blockchainDriver')">
|
||||
<n-select v-model:value="form.blockchainDriver" :options="blockchainDriverOptions" />
|
||||
</n-form-item>
|
||||
<n-form-item :label="t('pages.settings.certificateEnabled')">
|
||||
<n-switch v-model:value="form.certificateEnabled" />
|
||||
</n-form-item>
|
||||
<n-form-item :label="t('pages.settings.tianheEnv')">
|
||||
<n-select v-model:value="form.tianheEnv" :options="tianheEnvOptions" @update:value="onTianheEnvChange" />
|
||||
</n-form-item>
|
||||
@@ -320,7 +317,6 @@ const form = reactive({
|
||||
backupRetentionCount: 10,
|
||||
blockchainDriver: 'mock',
|
||||
tianheEnv: 'test',
|
||||
certificateEnabled: true,
|
||||
tianheBaseUrl: TIANHE_TEST_URL,
|
||||
tianheAppId: '',
|
||||
tianheAppKey: '',
|
||||
@@ -366,7 +362,6 @@ async function load() {
|
||||
form.backupRetentionCount = Number(s.backupRetentionCount || 10);
|
||||
form.blockchainDriver = s.blockchainDriver || 'mock';
|
||||
form.tianheEnv = s.tianheEnv || 'test';
|
||||
form.certificateEnabled = s.certificateEnabled !== 'false';
|
||||
form.tianheBaseUrl = s.tianheBaseUrl || TIANHE_TEST_URL;
|
||||
form.tianheAppId = s.tianheAppId || '';
|
||||
form.tianheAppKey = s.tianheAppKey || '';
|
||||
@@ -556,7 +551,6 @@ async function save() {
|
||||
backupRetentionCount: String(form.backupRetentionCount),
|
||||
blockchainDriver: form.blockchainDriver,
|
||||
tianheEnv: form.tianheEnv,
|
||||
certificateEnabled: String(form.certificateEnabled),
|
||||
tianheBaseUrl: form.tianheBaseUrl,
|
||||
tianheAppId: form.tianheAppId,
|
||||
tianheAppKey: form.tianheAppKey,
|
||||
|
||||
Reference in New Issue
Block a user