(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/Paper/Paper"],{"0772":function(t,e,n){"use strict";n.r(e);var r=n("127f"),o=n("54a8");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("e344");var i=n("2877"),u=Object(i["a"])(o["default"],r["a"],r["b"],!1,null,null,null);e["default"]=u.exports},"127f":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.questions,function(e,n){var r=t.questionOrder(n),o=t.questionOrder(n),a=t.questionOrder(n),i=t.questionOrder(n),u=t.questionOrder(n);return{$orig:t.__get_orig(e),m0:r,m1:o,m2:a,m3:i,m4:u}}));t.$mp.data=Object.assign({},{$root:{l0:n}})},o=[];n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o})},"54a8":function(t,e,n){"use strict";n.r(e);var r=n("59a5"),o=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,function(){return r[t]})}(a);e["default"]=o.a},"59a5":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2f62"),o=n("83e2");function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={data:function(){return{answers:[]}},computed:a({},(0,r.mapState)(["isLoading"]),(0,r.mapState)("exam",["testingPaper"]),(0,r.mapGetters)("exam",{questions:"questionsWithOption"})),onLoad:function(){this.getQuestions(),this.testingPaper&&t.setNavigationBarTitle({title:"".concat(this.testingPaper.paperName)})},methods:a({},(0,r.mapActions)("exam",["getQuestions","submitAnswers"]),(0,r.mapMutations)("exam",["clearQuestions"]),{questionOrder:function(t){return t+1},submitPaper:function(){this.submitAnswers(this.answers).then(function(t){(0,o.goBack)()}).catch(function(e){t.showToast({title:"提交失败"})})}}),onUnload:function(){this.clearQuestions()},onBackPress:function(){this.clearQuestions()}};e.default=u}).call(this,n("6e42")["default"])},e344:function(t,e,n){"use strict";var r=n("fd87"),o=n.n(r);o.a},fd87:function(t,e,n){}},[["03d7","common/runtime","common/vendor"]]]);