Commit d54d8892 by liyijie

fix: 解决prefix try_method的问题

parent 2566f155
......@@ -206,9 +206,9 @@ module TalltyImportExport
end
def try_method record, method, prefix: nil
arr = method.to_s.split(/\./)
prefix_arr = prefix.to_s.split(/\./)
try_chain record, arr + arr1
arr = method.to_s.split(/\./)
try_chain record, prefix_arr + arr
end
# 根据数据类型 attr_type 进行数据的格式化
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment