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

更新数据

parent 726f56c5
...@@ -118,6 +118,12 @@ ...@@ -118,6 +118,12 @@
loading: false, loading: false,
}); });
watch(
() => props.dataList,
(newValue, oldValue) => {
data.dataList=newValue
}
)
let methods = { let methods = {
examDetails(item){ examDetails(item){
uni.navigateTo({ uni.navigateTo({
......
...@@ -68,6 +68,12 @@ ...@@ -68,6 +68,12 @@
let data = reactive({ let data = reactive({
dataList: props.dataList dataList: props.dataList
}); });
watch(
() => props.dataList,
(newValue, oldValue) => {
data.dataList=newValue
}
)
let methods = { let methods = {
JobDetails(i){ JobDetails(i){
let item = props.dataList[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