浏览代码

Removed unnecessary fork history showing

rota3015 8 月之前
父节点
当前提交
773bf36866
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assets/js/vue.rules.js

+ 1 - 1
assets/js/vue.rules.js

@@ -517,7 +517,7 @@ const app = Vue.createApp({
           resultArray = splitArray.filter(value => value.trim() !== '');
         }
         var forkedOrNot = 0
-        if (resultArray.length == 1) {
+        if (resultArray.length > 1) {
           forkedOrNot = 1;
         }
         this.rule = {