Commit 4251e48e by 无尘

fix: 修改内部判断

parent 252a3add
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "@gic-test/vue-gic-card",
"description": "vue-gic-card Plugin",
"version": "1.0.38",
"version": "1.0.41",
"license": "MIT",
"private": false,
"main": "dist/vue-gic-card.js",
......
......@@ -70,7 +70,7 @@
width="130">
</el-table-column>
</el-table>
<div class="pagination">
<div class="pagination" v-if="total>0">
<el-pagination
@size-change="cardSizeChange"
@current-change="cardCurrentChange"
......@@ -228,6 +228,8 @@
console.log(res,res.data,res.data.errorCode)
var resData = res.data
if (resData.errorCode == 0) {
if (!!resData.result) {
if (!!resData.result.result) {
resData.result.result.forEach(function(ele,index){
if (!!ele.beginDate) {
ele.beginDate = that.formatDate(ele.beginDate,'.')
......@@ -237,7 +239,10 @@
}
})
that.cardData = resData.result.result
}
that.total = resData.result.totalCount
}
return;
}
that.$message.error({
......@@ -315,6 +320,9 @@
#wrap{
background: #fff;
}
.search-input{
width: 180px;
}
.attention-textAndImg-wrap /deep/{
.text-img-search {
margin: 10px 15px;
......@@ -326,6 +334,7 @@
float: left;
margin-right: 10px;
}
/deep/.search-input{
width: 180px;
.el-input__inner {
......
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