fix: 修改录像水印

This commit is contained in:
Michael Bai
2021-09-15 17:24:28 +08:00
committed by Jiangjie.Bai
parent d9532d5a93
commit 88ddd86154

View File

@@ -31,7 +31,7 @@ export default {
'SECURITY_COMMAND_EXECUTION',
'SECURITY_SERVICE_ACCOUNT_REGISTRATION',
'SECURITY_MAX_IDLE_TIME',
'SECURITY_WATERMARK_ENABLED',
// 'SECURITY_WATERMARK_ENABLED',
'SECURITY_SESSION_SHARE'
]
],
@@ -77,6 +77,12 @@ export default {
url: '/api/v1/settings/setting/?category=security'
}
},
mounted() {
if (this.$store.getters.hasValidLicense) {
const securityWatermarkEnabled = 'SECURITY_WATERMARK_ENABLED'
this.fields[0][1].splice(3, 0, securityWatermarkEnabled)
}
},
methods: {
submitMethod() {
return 'patch'