chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -30,7 +30,7 @@ export const getPreferInteractiveType = () => {
|
||||
return IS_MAC_OS ? InteractiveType.Pad : InteractiveType.Mouse;
|
||||
};
|
||||
|
||||
/** 记录选择的交互模式 */
|
||||
/** Record the selected interaction mode */
|
||||
export const setPreferInteractiveType = (type: InteractiveType) => {
|
||||
localStorage.setItem(CACHE_KEY, type);
|
||||
};
|
||||
|
||||
@@ -98,7 +98,7 @@ export const GuidingPopover = (
|
||||
const [visible, setVisible] = useState(() => needShowGuidingPopover());
|
||||
const onButtonClick = () => setVisible(false);
|
||||
|
||||
// gotIt 方法先不暴露到上层了,后续需要使用再暴露出来
|
||||
// The gotIt method is not exposed to the upper layer first, and it needs to be used later before being exposed.
|
||||
const handleGotIt = () => {
|
||||
hideGuidingPopover();
|
||||
setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user