修复网格选择

This commit is contained in:
2022-05-05 00:11:51 +08:00
parent 24ace97b27
commit 25cf860665
3 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
<div class="AppGridManagement">
<div class="pad-t32" v-if="component != 'Map' && isAdmin"></div>
<div class="select-gird" v-if="component != 'Map' && isAdmin" flex>
<AiPagePicker type="custom" class="fill" :selected="[params]" @select="handleSelectGird"
<AiPagePicker type="custom" class="fill" @select="handleSelectGird"
:ops="{url:'./SelectGird',label: 'girdName'}">
<div flex>
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
@@ -103,7 +103,7 @@ export default {
uni.navigateTo({url})
},
handleSelectGird(v) {
this.params = v?.[0] || {}
this.params = v || {}
this.refreshHome()
}
},