修改首页自定义报错
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user