SanHQin 6 ماه پیش
والد
کامیت
a871e3bc16

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.39f3cde26942a7b6fdd9d0867b570074.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.de15001ce66f032e9274.js></script><script type=text/javascript src=./static/js/app.326c5e74b1744504f8ce.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.4cfcbb76a661055da2c861f726039f08.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.de15001ce66f032e9274.js></script><script type=text/javascript src=./static/js/app.cdd9b000cbe5e7192df3.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.4cfcbb76a661055da2c861f726039f08.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.4cfcbb76a661055da2c861f726039f08.css.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.cdd9b000cbe5e7192df3.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.cdd9b000cbe5e7192df3.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 13 - 14
src/components/pages/appStore/views/appManagement.vue

@@ -343,19 +343,18 @@
         </div>
 
         <div class="ac_c_typeCard" v-if="showType == ''">
-          <div class="ac_c_tc_item" v-for="(item2, index) in typeList">
+          <div class="ac_c_tc_item" v-for="(item2, index2) in typeList">
             <div class="ac_c_tc_i_top">
               <div>{{ item2.name }}</div>
 
-              <span @click="item2.open = !item2.open"
+              <span
                 >查看更多
                 <img
-                  :style="`transform: rotate(${item2.open ? '0' : '90'}deg);`"
                   src="../../../../assets/icon/appStore/arrow.svg"
                 />
               </span>
             </div>
-            <div class="ac_c_tc_i_bottom" v-show="item2.open">
+            <div class="ac_c_tc_i_bottom">
               <div
                 class="ac_c_item"
                 v-if="item.type === item2.id"
@@ -906,7 +905,7 @@ export default {
           this.ajax
             .post(this.$store.state.api + "insert_appStore", params)
             .then(res => {
-              if (res.data == 1) {
+              if (res.data) {
                 this.$message.success("复制成功,已添加至我的列表。");
                 this.getData();
                 this.insertSave(item, 3);
@@ -1008,7 +1007,7 @@ export default {
         this.ajax
           .post(this.$store.state.api + "update_appStore", params)
           .then(res => {
-            if (res.data == 1) {
+            if (res.data) {
               this.$message.success("修改成功");
               this.$refs.addAppDialogRef.close(true);
               this.getData();
@@ -1042,14 +1041,14 @@ export default {
       this.ajax
         .post(this.$store.state.api + "update_appStore", params)
         .then(res => {
-          if (res.data == 1) {
+          if (res.data) {
             this.$message.success("发布成功");
             this.$refs.releaseAppDialogRef.close(true);
-            this.getData();
           } else {
             this.$message.error("发布失败");
             this.$refs.releaseAppDialogRef.loading = false;
           }
+          this.getData();
         })
         .catch(err => {
           console.log(err);
@@ -1069,11 +1068,11 @@ export default {
         .then(res => {
           let data = res.data[0];
           if (data.length > 0) {
-            data.forEach(i => {
-              if (i.open == undefined) {
-                i.open = true;
-              }
-            });
+            // data.forEach(i => {
+            //   if (i.open == undefined) {
+            //     i.open = true;
+            //   }
+            // });
             this.typeList = data;
           }
         })
@@ -1911,7 +1910,7 @@ export default {
   width: 18px;
   height: 18px;
   margin-left: 5px;
-  transform: rotate(90deg);
+  /*transform: rotate(90deg);*/
   transition: 0.3s;
 }
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است