首页 Liquid 语法 函数(Filters) uniq uniq Baklib 发布于:2025-01-02 删除数组中的所有冗余项。输入 {% assign my_array = "ants, bugs, bees, bugs, ants" | split: ", " %} {{ my_array | uniq | join: ", " }} 输出 ants, bugs, bees 提交反馈 您觉得这篇文章是否有帮助? 😊 有用 😞 无用 Close abs upcase