style: 软件激活omclong

This commit is contained in:
TsMask committed 2024-01-17 19:34:25 +08:00
1 parent 6935b91393
commit f357fb5e14
1 file changed
+2 -1
@@ -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);