Explorar o código

修改保存成功提示信息时间

wyq %!s(int64=3) %!d(string=hai) anos
pai
achega
756d495767
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 2 1
      src/components/common/LtModal.vue
  2. 1 1
      src/components/icss/fusion/Fusion.vue

+ 2 - 1
src/components/common/LtModal.vue

@@ -478,7 +478,8 @@ export default {
       this.$message({
         showClose: true,
         message: msg,
-        type: type || 'warning'
+        type: type || 'warning',
+        duration:'1000'
       });
     },
     closeModal() {

+ 1 - 1
src/components/icss/fusion/Fusion.vue

@@ -152,7 +152,7 @@ export default {
       e.preventDefault();
       let formData = new FormData();
       formData.append('file', fileInfo);
-      formData.append('type', 5);
+      formData.append('type', 8);
       const header = {
         headers: {
           'Content-Type': 'multipart/form-data'