소스 검색

更新-系统设置一直加载问题

SanHQin 1 년 전
부모
커밋
eb1ea8ed36

+ 0 - 1
dist/css/9182.b7095877.css

@@ -1 +0,0 @@
-#system[data-v-6ac0381e]{width:100%;height:100%}#system #SystemBtn[data-v-6ac0381e]{margin-top:40px;width:100%}#system #SystemBtn .setSystemBtn[data-v-6ac0381e]{font-size:18px}#system #SystemBtn .setSystemBtn span[data-v-6ac0381e]{margin-right:10px}

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>双创学院管理系统</title><script defer="defer" src="/js/chunk-vendors.f92325f6.js"></script><script defer="defer" src="/js/app.448c863c.js"></script><link href="/css/chunk-vendors.0225060a.css" rel="stylesheet"><link href="/css/app.b3459279.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
+<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>双创学院管理系统</title><script defer="defer" src="/js/chunk-vendors.f92325f6.js"></script><script defer="defer" src="/js/app.4230b944.js"></script><link href="/css/chunk-vendors.0225060a.css" rel="stylesheet"><link href="/css/app.b3459279.css" rel="stylesheet"></head><body><div id="app"></div></body></html>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/1097.9a6b441a.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/1097.9a6b441a.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/8029.d602bff6.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/8029.d602bff6.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/8347.19b3b0b0.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/8347.19b3b0b0.js.map


+ 0 - 2
dist/js/9182.235fbd87.js

@@ -1,2 +0,0 @@
-"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[9182],{89182:function(t,e,s){s.r(e),s.d(e,{default:function(){return r}});var a=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{id:"system"}},[t._m(0),e("hr"),e("div",{attrs:{id:"SystemBtn"}},[e("div",{staticClass:"setSystemBtn"},[e("span",[t._v("关闭网站")]),e("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},on:{change:t.ChangeCloseWebState},model:{value:t.closeWeb,callback:function(e){t.closeWeb=e},expression:"closeWeb"}})],1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"pAHeader"},[e("div",{staticClass:"pAHeader1"},[t._v("系统管理")])])}],o={components:{},data(){return{closeWeb:!1,loading:!1}},methods:{ChangeCloseWebState(){this.loading=!0,this.ajax.post(this.$store.state.api+"/setSystemState",{uid:this.$store.state.userInfo.userid,st:Number(this.closeWeb)}).then((t=>{1==t["data"]&&(this.$message.success("更改系统状态成功"),this.getCloseData())})).catch((t=>{console.log(t)}))},getCloseData(){this.loading=!0,this.ajax.get(this.$store.state.api+"/getSystemState",{uid:this.$store.state.userInfo.userid}).then((t=>{let e=t["data"][0][0]["state"];this.closeWeb=Boolean(e),this.loading=!1})).catch((t=>{console.log(t)}))}},watch:{},mounted(){},activated(){this.getCloseData()}},n=o,c=s(43736),l=(0,c.Z)(n,a,i,!1,null,"6ac0381e",null),r=l.exports}}]);
-//# sourceMappingURL=9182.235fbd87.js.map

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/9182.235fbd87.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/app.448c863c.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/app.448c863c.js.map


+ 3 - 1
src/views/system.vue

@@ -35,6 +35,7 @@
                 this.loading = true;
                 this.ajax.post(this.$store.state.api+'/setSystemState',{
                     uid:this.$store.state.userInfo.userid,
+										name:"systemOpen",
                     st:Number(this.closeWeb)
                 }).then(res=>{
                     if(res['data']==1){
@@ -48,7 +49,8 @@
             getCloseData(){
                 this.loading = true;
                 this.ajax.get(this.$store.state.api+'/getSystemState',{
-                    uid:this.$store.state.userInfo.userid
+                    uid:this.$store.state.userInfo.userid,
+										name:"systemOpen"
                 }).then(res=>{
                     let state = res['data'][0][0]['state'];
                     //是否关闭网站

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.