- Fixed after deleting a record in TablesList, not updated correctly #110
- Improve SEO Rank with WooRank tips...
This commit is contained in:
@@ -2394,6 +2394,15 @@ export const tools = {
|
||||
return ris
|
||||
},
|
||||
|
||||
getaltimg(dir: string, file: string, alt?: string) {
|
||||
const myimage = dir + file
|
||||
const myrec = static_data.preLoadImages.find((rec) => rec.imgname === myimage)
|
||||
if (myrec)
|
||||
return (myrec) ? myrec.alt : 'my image'
|
||||
else
|
||||
return alt
|
||||
},
|
||||
|
||||
getimgFullpathbysize(fileimg: string) {
|
||||
const ind = fileimg.lastIndexOf('/')
|
||||
if (ind > 0) {
|
||||
|
||||
Reference in New Issue
Block a user