diff --git a/src/pages/profile/profile.vue b/src/pages/profile/profile.vue index 500a025..45a4089 100644 --- a/src/pages/profile/profile.vue +++ b/src/pages/profile/profile.vue @@ -7,12 +7,25 @@ 作业仓库{{ warehouseDisplay }} 当前班次以海外仓排班为准 应用版本{{ appVersion }} - + + + + + + + + 业务页面暂以中文显示,语言偏好将保存在本机。 + + + 退出会撤销当前登录会话并清空本地作业草稿;未提交作业数据不得跨账号保留。 设置功能将在后续版本开放 @@ -20,6 +33,7 @@ + + diff --git a/tests/project-contract.test.mjs b/tests/project-contract.test.mjs index 5246fc3..4613578 100644 --- a/tests/project-contract.test.mjs +++ b/tests/project-contract.test.mjs @@ -146,7 +146,8 @@ test('Chinese English and Spanish locale selection is persisted from profile wit for (const label of ['简体中文', 'English', 'Español']) assert.match(i18n, new RegExp(label)) assert.match(profile, /currentLocale, LOCALE_OPTIONS, setLocale/) assert.match(profile, /@tap="selectLanguage"[\s\S]*切换语言/) - assert.match(profile, /uni\.showActionSheet[\s\S]*setLocale\(selected\.value\)/) + assert.match(profile, /ref="languagePopup"[\s\S]*role="radiogroup"/) + assert.match(profile, /applyLanguage\(value\)[\s\S]*setLocale\(selected\.value\)/) assert.match(inbound, /warehouse-profile/) })