提交一波

This commit is contained in:
liuye
2022-09-27 16:57:38 +08:00
parent 02005dce10
commit 513afb8235
5 changed files with 120 additions and 24 deletions

View File

@@ -47,7 +47,7 @@
</div>
</div>
<div class="btn-height"></div>
<div class="footer" v-if="info.status != 2" @click="toAdd">采样</div>
<div class="footer" v-if="info.status != 2 && isHideBtn != 1" @click="toAdd">采样</div>
</div>
</template>
@@ -59,6 +59,7 @@ export default {
return {
id: '',
info: {},
isHideBtn: 0
}
},
computed: { ...mapState(['user']) },
@@ -73,6 +74,7 @@ export default {
uni.$on('updateDetail', () => {
this.getDetail()
})
this.isHideBtn = option.isHideBtn || 0
},
methods: {
getDetail() {