Commit acc42ddc authored by 786817560's avatar 786817560

'pull'

parent 829a76be
...@@ -97,15 +97,22 @@ export default { ...@@ -97,15 +97,22 @@ export default {
} }
}, },
watch: { watch: {
'num': { // 'num': {
handler (newVal, oldVal) { // handler (newVal, oldVal) {
if (newVal === 2) { // if (newVal === 2) {
if (!this.approvedFlag) { // if (!this.approvedFlag) {
this.getLists() // this.getLists()
} // }
// }
// },
// immediate: true,
// },
num () {
if (this.num === 2) {
if (!this.approvedFlag) {
this.getLists()
} }
}, }
immediate: true,
}, },
searchInput () { searchInput () {
let vm = this let vm = this
...@@ -199,6 +206,7 @@ export default { ...@@ -199,6 +206,7 @@ export default {
} }
}, },
loadMore () { loadMore () {
console.log('lodeMore')
let vm = this let vm = this
if (vm.num === 1) { if (vm.num === 1) {
vm.submitPagenum++ vm.submitPagenum++
......
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