The ternary operator written after value does not respond, but replacing {$vo.title} with the ternary operator works. What is the reason?
is selected, your code is wrong
View the corresponding php file generated in the compilation directory
You haven’t made it clear whether it’s an attribute or a value of the tag. If it’s a value or other attribute value, you have to write it clearly.
I can print out both $vo.gid and $data.item.gid, and there is data in them, but they don’t take effect
is selected, your code is wrong
View the corresponding php file generated in the compilation directory
You haven’t made it clear whether it’s an attribute or a value of the tag. If it’s a value or other attribute value, you have to write it clearly.
I can print out both $vo.gid and $data.item.gid, and there is data in them, but they don’t take effect