安全性问题处理:电投列表添加组件处理 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-11-23 13:52:35 +08:00
parent 62ec89c3d4
commit d3ed844b6a

View File

@@ -170,6 +170,7 @@ export default {
}, },
data() { data() {
return { return {
showFlag: true,
searchName: '', searchName: '',
active: 'uncommit', //uncommit 表示未提交 commit表示已提交 active: 'uncommit', //uncommit 表示未提交 commit表示已提交
saleList: [], saleList: [],
@@ -201,7 +202,8 @@ export default {
}, },
methods: { methods: {
initThisPage(showFlag) { initThisPage(showFlag) {
if (showFlag) { this.showFlag = showFlag
if (this.showFlag) {
return return
} }
this.loadMore() this.loadMore()
@@ -215,6 +217,9 @@ export default {
}, },
//分页用 //分页用
loadMore() { loadMore() {
if (this.showFlag) {
return
}
let pageInfo = { let pageInfo = {
pageNum: this.currentPage, pageNum: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,