Explorar o código

graph:img:格式更改

haojianlong %!s(int64=4) %!d(string=hai) anos
pai
achega
d41f21da61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      persagy-web-graph/src/items/SImageItem.ts

+ 1 - 1
persagy-web-graph/src/items/SImageItem.ts

@@ -198,7 +198,7 @@ export class SImageItem extends SObjectItem {
      */
     private isUrlIdentical(imgUrl: string): boolean {
         if (this.url.indexOf("://") == -1) {
-
+            // eslint-disable-next-line max-len
             const reg = /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*?)\s*$/i;
             if (reg.test(this.url)) {
                 return this.url == imgUrl;