fengweiqiang 5 年 前
コミット
19b94348f8
1 ファイル変更0 行追加2 行削除
  1. 0 2
      src/jy/util/tagmatch.go

+ 0 - 2
src/jy/util/tagmatch.go

@@ -164,7 +164,6 @@ func GetAppointTags(src string, array []string, isSite bool, codeSite string) Ta
 				if v,ok := value.(*TagFile);ok {
 					if ok, tag := v.Match(src); ok {
 						ret = append(ret, &Tag{src, v.Name, tag.Weight, tag.TagReg, false})
-						return false
 					}
 				}
 				return true
@@ -178,7 +177,6 @@ func GetAppointTags(src string, array []string, isSite bool, codeSite string) Ta
 			if v,ok := value.(*TagFile);ok {
 				if ok, tag := v.Match(src); ok {
 					ret = append(ret, &Tag{src, v.Name, tag.Weight, tag.TagReg, false})
-					return false
 				}
 			}
 			return true