|
@@ -69,7 +69,7 @@ const pullRefreshRef = shallowRef()
|
|
|
const positionList = computed(() => {
|
|
const positionList = computed(() => {
|
|
|
const list = positionStore.getPositionListByTradeMode(10)
|
|
const list = positionStore.getPositionListByTradeMode(10)
|
|
|
/// 数据过滤
|
|
/// 数据过滤
|
|
|
- if (props.goodsCode != '') {
|
|
|
|
|
|
|
+ if (props.goodsCode) {
|
|
|
return list.filter(e => e.goodscode === props.goodsCode)
|
|
return list.filter(e => e.goodscode === props.goodsCode)
|
|
|
}
|
|
}
|
|
|
return list
|
|
return list
|