在执行命令./scripts/build-static -d -l -s -v='rancher-ui' -c='ip地址:端口'时提示:
Template Compiler Error (TemplateCompiler) in ui/components/volume-source/source-custom-log-path/template.hbs
The mount
keyword was used incorrectly. It was used as a call expression, but its valid usages are:
mount:挂载,mountPath:容器路径
我根据提示将value改为value={{mount.mountPath}}结果失败,提示'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'OPEN'
因为我是在linux下执行build-static脚本出现这个问题的,然后我参照type="text"和提示的mount换成{{mount}},将value="{{mount.mountPath}}"就可以了,但是为什么这么修改我还是有点不太明白