Vue gets a custom public method to report an error

Today, a new public method has been written, but the error has been reported since the project is running, the method can not be found, and the reason can not be found in the code, so I would like to ask you for advice here.

Public method: written in public.js file

/**
 * :710
 * @returns true:   false: 
 * create by hl on 2018-10-09
 */
export const isImgFromLocal = () => {
    let curDate = new Date();
    let curHour = curDate.getHours();
    return curHour >= 7 && curHour <= 10; //710 
};

File path:

clipboard.png

:


:

clipboard.png

will not find the "_ isImgFromLocal" method. I don"t know why there is more "_",

.

and there are other public methods in public, other methods can be used normally, but not the new one. Has anyone encountered this problem?

Aug.05,2021

the name let isImgFromLocal conflicts with the name of the method you called.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fcf6-2bd0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fcf6-2bd0e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?