修改首页自定义报错

This commit is contained in:
duan
2024-11-04 10:51:49 +08:00
parent 4cd503803b
commit 172bfa3bab
7 changed files with 36 additions and 16 deletions

View File

@@ -100,6 +100,9 @@
onMounted,
getCurrentInstance
} from 'vue';
import {
onShow,
} from '@dcloudio/uni-app';
import color from '@/commons/color.js';
import go from '@/commons/utils/go.js';
import {
@@ -131,10 +134,11 @@
}
})
onMounted(() => {
getList()
datas.item = JSON.parse(props.item)
})
onShow(() => {
getList()
})
function toggle() {
go.to('PAGES_ADD_SUPPLIER')
}