浏览代码

fix(pkuxkx): 由于 str.Color 函数语义发生变动,因此导致 jq 命令的增益属性错误

dzp 4 周之前
父节点
当前提交
e114c5ea68
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mud/pkuxkx/plugins/basic/cmds/jobquery.tin

+ 2 - 2
mud/pkuxkx/plugins/basic/cmds/jobquery.tin

@@ -207,8 +207,8 @@ VAR {任务CD状态查询结果} gJobState {};
         };
 
         #local moreInfo {$rawLine};
-        #if { "$moreInfo[buff]"  != "" } {#local moreInfo[buff]  {@str.Color{$moreInfo[buff]}}};
-        #if { "$moreInfo[group]" != "" } {#local moreInfo[group] {@str.Color{$moreInfo[group]}}};
+        #if { "$moreInfo[buff]"  != "" } {#local moreInfo[buff]  {@str.SimpleColor{$moreInfo[buff]}}};
+        #if { "$moreInfo[group]" != "" } {#local moreInfo[group] {@str.SimpleColor{$moreInfo[group]}}};
 
         #if { "$moreInfo[color]" != "" } {
             #replace moreInfo[color] {\e[2;37;0m{(\e\[([0-9;]+)m)+}◆} {@str.Replace{{&3};{;};{-}};};