Commit 7969fd9f by 无尘

fix: 修改session过期提示

parent 95e08372
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.c1e16675e6feec4dd571c42aecf891c1.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script type=text/javascript src=./static/js/manifest.1becaa10c4b4394e35ae.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.cd37bb64acc000bd2918.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>分享有礼</title><link href=./static/css/app.2036d9bc88f58cdda3659103f49a124e.css rel=stylesheet></head><body style="background-color: #f0f2f5;min-width: 1400px;"><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.33.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.14.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.38.js></script><script src=//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.02.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js></script><script type=text/javascript src=./static/js/manifest.afdf398e7c913c6a0597.js></script><script type=text/javascript src=./static/js/vendor.8455def81090347f10ce.js></script><script type=text/javascript src=./static/js/app.cd37bb64acc000bd2918.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=o(o.s=a[u]);return i};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"dc5d2dbcbcf61f2c3ab1",1:"cd8911fae63b93bb26df",2:"1a6172bd52739de42ee7",3:"35f4c410dfa15416f8df",4:"8bcfa0b5cbcb9317369e",5:"6292def4983145b5962d",6:"a7f8a076881c826bf057",7:"d2ca391d27760dce0507",8:"6278b7fbcae037415120",9:"b3295d4914390befbf99",10:"df35ee9de62c50cdc6eb",11:"d0725b11939656aef083",12:"7213ac9b1784cc20392d"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,b=[];d<r.length;d++)i=r[d],t[i]&&b.push(t[i][0]),t[i]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(r,c,a);b.length;)b.shift()();if(a)for(d=0;d<a.length;d++)u=o(o.s=a[d]);return u};var r={},t={15:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"8f9c1fb6b025254ad3e1",1:"cd8911fae63b93bb26df",2:"8fa40e9f56dfb7a1de9c",3:"35f4c410dfa15416f8df",4:"8bcfa0b5cbcb9317369e",5:"6292def4983145b5962d",6:"a7f8a076881c826bf057",7:"d2ca391d27760dce0507",8:"6278b7fbcae037415120",9:"b3295d4914390befbf99",10:"df35ee9de62c50cdc6eb",11:"d0725b11939656aef083",12:"7213ac9b1784cc20392d"}[e]+".js";var f=setTimeout(i,12e4);function i(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=i,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-12 10:18:29 * @Date: 2019-11-12 10:18:29
* @LastEditors : 无尘 * @LastEditors : 无尘
* @LastEditTime : 2019-12-24 14:01:40 * @LastEditTime : 2019-12-24 14:18:36
*/ */
/* 后台返回消息提示 */ /* 后台返回消息提示 */
import { import {
...@@ -21,6 +21,10 @@ export default { ...@@ -21,6 +21,10 @@ export default {
} }
if (response.errorCode != 1) { if (response.errorCode != 1) {
if (response.errorCode == 4) { if (response.errorCode == 4) {
Message.error({
duration: 3000,
message: response.message
});
window.location.href = local + '/gic-web/#/login'; window.location.href = local + '/gic-web/#/login';
return false; return false;
} }
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-18 10:37:02 * @Date: 2019-11-18 10:37:02
* @LastEditors: 无尘 * @LastEditors : 无尘
* @LastEditTime: 2019-12-18 16:47:44 * @LastEditTime : 2019-12-24 14:16:52
--> -->
<!-- <!--
<reward-config @submitBack="submitBack" @submitNext="submitNext"></reward-config> <reward-config @submitBack="submitBack" @submitNext="submitNext"></reward-config>
...@@ -1438,7 +1438,7 @@ export default { ...@@ -1438,7 +1438,7 @@ export default {
showMsg.showmsg(freeze.msg, 'warning'); showMsg.showmsg(freeze.msg, 'warning');
return false; return false;
} }
console.log('单次数据', that.activeInfoData); // console.log('单次数据', that.activeInfoData);
const names = that.basePath.map(ele => ele.transName); const names = that.basePath.map(ele => ele.transName);
that.activeInfoData.stepType = that.stepObj[names[names.length - 1]]; that.activeInfoData.stepType = that.stepObj[names[names.length - 1]];
if (that.activeInfoData.hasOwnProperty('consumeAction')) { if (that.activeInfoData.hasOwnProperty('consumeAction')) {
...@@ -1495,7 +1495,7 @@ export default { ...@@ -1495,7 +1495,7 @@ export default {
awardMode: filterData.awardMode, awardMode: filterData.awardMode,
awardItems: [filterData] awardItems: [filterData]
}; };
console.log(filterData) // console.log(filterData)
that.postSave(postData); that.postSave(postData);
}, },
async resetKey(filterData) { async resetKey(filterData) {
...@@ -1629,7 +1629,7 @@ export default { ...@@ -1629,7 +1629,7 @@ export default {
if (!!that.$refs.hasOwnProperty('multSpot') && that.$refs.multSpot.length ) { if (!!that.$refs.hasOwnProperty('multSpot') && that.$refs.multSpot.length ) {
for (let index = 0; index < that.$refs.multSpot.length; index++) { for (let index = 0; index < that.$refs.multSpot.length; index++) {
spot = await that.$refs.multSpot[index].submitForm(); spot = await that.$refs.multSpot[index].submitForm();
console.log('spot:',spot) // console.log('spot:',spot)
if (!spot) { if (!spot) {
break; break;
} }
...@@ -1728,7 +1728,7 @@ export default { ...@@ -1728,7 +1728,7 @@ export default {
let element = that.ProgressiveData[index]; let element = that.ProgressiveData[index];
await that.resetKey(element) await that.resetKey(element)
} }
console.log(that.ProgressiveData); // console.log(that.ProgressiveData);
const postData = { const postData = {
activityId: that.activeInfoData.activityId, activityId: that.activeInfoData.activityId,
awardMode: that.activeInfoData.awardMode, awardMode: that.activeInfoData.awardMode,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment