@wendongfly/myhi 1.3.194 → 1.3.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1280,13 +1280,13 @@
1280
1280
  inp.value = d.name === d.hostname ? '' : (d.name || '');
1281
1281
  inp.disabled = !!d.fromEnv || !_isAdmin;
1282
1282
  if (d.fromEnv) setStatus('set-machine-status', '已由环境变量 MYHI_NAME 指定,此处不可改');
1283
- else if (!_isAdmin) setStatus('set-machine-status', '仅管理员可修改');
1283
+ else if (!_isAdmin) setStatus('set-machine-status', '仅管理员可修改:在管理后台 /admin 用管理密码登录后,「全局设置」里改');
1284
1284
  }).catch(() => {});
1285
1285
  fetch('/api/server-config').then(readJson).then(d => {
1286
1286
  const inp = document.getElementById('set-asr-url');
1287
1287
  inp.value = d.asrUrl || '';
1288
1288
  inp.disabled = !_isAdmin;
1289
- if (!_isAdmin) setStatus('set-asr-status', '仅管理员可修改');
1289
+ if (!_isAdmin) setStatus('set-asr-status', '仅管理员可修改:管理后台 /admin →「全局设置」');
1290
1290
  }).catch(() => {});
1291
1291
  checkHomeVersion();
1292
1292
  };