liukang 2 年之前
父节点
当前提交
0c658e1cc9
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 1 0
      src/components/form/AdminFrom.vue
  2. 5 2
      src/view/index/index.vue

+ 1 - 0
src/components/form/AdminFrom.vue

@@ -454,6 +454,7 @@ const submitYz = async() => {
     }
     /deep/ .el-form-item__error{
       margin-left: 30px;
+      white-space: nowrap;
     }
     /deep/ .el-input {
       font-size: 20px;

+ 5 - 2
src/view/index/index.vue

@@ -398,7 +398,10 @@ async function killGoodss(){
   setTimeout(()=>{
     killGoods().then((res)=>{
       if(res.code==1){
-        seckillList.arr=res.data.goods
+        if(res.data.goods) {
+          seckillList.arr=res.data.goods
+
+        }
 
         let date1=detailTime(res.time);
         let date2=detailTime(res.data.endtime);
@@ -1237,7 +1240,7 @@ const routesTap=(url,id)=>{
       height: 652px;
       display: inline-block;
       overflow-y: scroll;
-      padding:0 0 20px 0;
+      margin:0 0 20px 0;
       position: relative;
       z-index: 111;
       .colorStyles{