Kaynağa Gözat

修复小bug

shaogen1995 4 yıl önce
ebeveyn
işleme
9d36546549

+ 1 - 1
src/pages/activity/activityList.vue

@@ -172,7 +172,7 @@ export default {
         type: "warning",
       })
         .then(() => {
-          this.$http.get(`/manage/goods/remove/${item.id}`, {}).then((res) => {
+          this.$http.get(`/manage/activity/remove/${item.id}`, {}).then((res) => {
             if (res.code === 0) {
               this.$alert("删除成功", "提示", {
                 confirmButtonText: "确定",

+ 3 - 0
src/pages/collection/collectionEdit.vue

@@ -307,6 +307,9 @@ export default {
   cursor: pointer;
   position: relative;
   overflow: hidden;
+  img {
+    max-width: 300px;
+  }
 }
 .avatar-uploader .el-upload:hover {
   border-color: #409eff;

+ 2 - 2
src/pages/news/newEdit.vue

@@ -133,8 +133,8 @@ export default {
       // console.log('this.form',this.form)
       let { content, name, type, id, code,source,wxUrl } = this.form;
       let data = { content, name, type, id, code,source,wxUrl};
-      // console.log(666,data);
-      if(data.content===undefined) return common.tip("error", "内容不能为空!");
+      console.log(666,data);
+      if(data.content===undefined) data.content=' '
       let result = await this.$http({
         method: "post",
         data,