测试bug反馈修复

This commit is contained in:
仲么了
2023-08-24 15:35:45 +08:00
parent 79d6771aad
commit 7c79eddc05
24 changed files with 149 additions and 112 deletions

View File

@@ -139,7 +139,7 @@
<uni-forms>
<uni-data-select
v-model="point.position"
:localdata="positionList"
:localdata="positionListRange"
@change="positionChange"
></uni-data-select>
<uni-easyinput
@@ -185,8 +185,17 @@ export default {
isAdaptive: false, // 是否适应当前项目
}
},
computed:{
positionListRange(){
return this.positionList.map(item => {
return {
...item,
disable: this.point.linePostion !== item.id && this.pointList.some(item2 => item2.linePostion === item.id)
}
})
}
},
onLoad() {
let dictData = uni.getStorageSync(this.$cacheKey.dictData)
dictData.forEach((item) => {
if (item.code == 'Line_Position') {