@wendongfly/myhi 1.0.26 → 1.0.27
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 +3 -7
- package/package.json +1 -1
package/dist/index.html
CHANGED
|
@@ -517,13 +517,9 @@
|
|
|
517
517
|
}
|
|
518
518
|
if (data.dir) {
|
|
519
519
|
_userDir = data.dir;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
cwdInput.style.opacity = '0.6';
|
|
524
|
-
// 隐藏目录选择按钮和最近目录
|
|
525
|
-
cwdInput.parentElement.querySelector('button').style.display = 'none';
|
|
526
|
-
document.getElementById('recent-dirs').style.display = 'none';
|
|
520
|
+
// 隐藏整个工作目录选择区域(后端强制使用绑定目录)
|
|
521
|
+
const cwdField = document.getElementById('inp-cwd').closest('.field');
|
|
522
|
+
if (cwdField) cwdField.style.display = 'none';
|
|
527
523
|
}
|
|
528
524
|
}).catch(() => {});
|
|
529
525
|
|