diff --git a/frontend/src/api/user.js b/frontend/src/api/user.js index c57748d5d9..3a6864d28e 100644 --- a/frontend/src/api/user.js +++ b/frontend/src/api/user.js @@ -36,6 +36,13 @@ export function needModifyPwd() { }) } +export function removePwdTips() { + return request({ + url: '/api/auth/removeNoti', + method: 'post' + }) +} + export function defaultPwd() { return request({ url: '/api/auth/defaultPwd', diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 66ecf7f7ca..eebfb87250 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -138,6 +138,7 @@ export default { stop: 'Stop', first_login_tips: 'Please change the initial password', roger_that: 'Roger That', + donot_noti: 'Do not tips', apply: 'Apply', search: 'Search', folder: 'Folder', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index f55759761d..f1172ab040 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -138,6 +138,7 @@ export default { stop: '停止', first_login_tips: '您使用的是初始密碼,記得修改密碼哦', roger_that: '知道了', + donot_noti: '不再提示', apply: '應用', search: '搜索', folder: '目錄', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 41db1f97eb..370c8f6c14 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -138,6 +138,7 @@ export default { stop: '停止', first_login_tips: '您使用的是初始密码,记得修改密码哦', roger_that: '知道了', + donot_noti: '不再提示', apply: '应用', search: '搜索', folder: '目录', diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue index 763b188d4c..646650b1cd 100644 --- a/frontend/src/layout/index.vue +++ b/frontend/src/layout/index.vue @@ -15,6 +15,7 @@