Commit 3a3bf6e0 authored by 罗超's avatar 罗超

更新数据

parent 726f56c5
......@@ -118,6 +118,12 @@
loading: false,
});
watch(
() => props.dataList,
(newValue, oldValue) => {
data.dataList=newValue
}
)
let methods = {
examDetails(item){
uni.navigateTo({
......
......@@ -68,6 +68,12 @@
let data = reactive({
dataList: props.dataList
});
watch(
() => props.dataList,
(newValue, oldValue) => {
data.dataList=newValue
}
)
let methods = {
JobDetails(i){
let item = props.dataList[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment