代码拉取完成,页面将自动刷新
问题描述
源码为
v-if="(['add','apply'].includes(item.type)&&apply[item.type+'List'].length) || !['add','apply'].includes(item.type)"
编译后为
var g0 = ["add", "apply"].includes(item.type) && _vm.apply[item.type + "List"].length
var g1 = item.g0 || !["add", "apply"].includes(item.type)
注意 “var g1 = item.g0 || !["add", "apply"].includes(item.type)” 此处 item.g0 是不对的 应该为 g0 || !["add", "apply"].includes(item.type)
ask地址(里面有复现demo)
https://ask.dcloud.net.cn/question/144808