style: 软件激活omclong

This commit is contained in:
TsMask
2024-01-17 19:34:25 +08:00
parent 6935b91393
commit f357fb5e14

View File

@@ -295,7 +295,8 @@ function fnFileModalOk() {
fnType
.then(res => {
// OMC自升级
if (type === 'run' && from.neType === 'OMC') {
if (type === 'run' && from.neType.toLowerCase() === 'omc') {
console.log(res);
if (res.code === RESULT_CODE_SUCCESS) {
fnFileModalCancel();
lockedStore.fnLock('reload', true);