1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69ce85df"],{"14d9":function(t,e,n){"use strict";var r=n("23e7"),o=n("7b0b"),s=n("07fa"),i=n("3a34"),c=n("3511"),a=n("d039"),l=a((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=l||!u();r({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=o(this),n=s(e),r=arguments.length;c(n+r);for(var a=0;a<r;a++)e[n]=arguments[a],n++;return i(e,n),n}})},"303e":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"p-5 items-center bg-white shadow flex justify-between items-center"},[e("div",[e("p",{staticClass:"text-2xl"},[t._v(t._s(t.username))]),e("p",{staticClass:"text-gray-500 pt-2"},[t._v(t._s(t.phone))])]),e("van-button",{attrs:{type:"danger",size:"small"},on:{click:t.logout}},[t._v("退出登录")])],1),e("div",{staticClass:"mt-3"},[e("van-cell",{attrs:{title:"我的选材单",icon:"goods-collect-o",to:"/pick/orders","is-link":""}}),e("van-cell",{attrs:{title:"我的报价单",icon:"balance-list-o",to:"/bid/orders","is-link":""}}),e("van-cell",{attrs:{title:"修改密码",icon:"setting-o","is-link":"",to:"/personal/password"}})],1)])},o=[],s=(n("14d9"),{data:function(){return{username:"",phone:"",house_id:0,house:{id:0}}},mounted:function(){console.log(this.$store.getters),this.username=this.$store.getters.username,this.phone=this.$store.getters.phone},methods:{logout:function(){var t=this;this.$dialog.confirm({title:"提示",message:"确定要退出登录吗?"}).then((function(){t.$store.dispatch("user/logout").then((function(){t.$router.push("/login?redirect=".concat(t.$route.fullPath))}))})).catch((function(t){console.log(t)}))}}}),i=s,c=n("2877"),a=Object(c["a"])(i,r,o,!1,null,null,null);e["default"]=a.exports},3511:function(t,e,n){"use strict";var r=TypeError,o=9007199254740991;t.exports=function(t){if(t>o)throw r("Maximum allowed index exceeded");return t}},"3a34":function(t,e,n){"use strict";var r=n("83ab"),o=n("e8b5"),s=TypeError,i=Object.getOwnPropertyDescriptor,c=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!i(t,"length").writable)throw new s("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}}}]);
|