app.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. "use strict";
  2. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_taro-ui_js.js");
  3. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-2Y2U3MWF_js.js");
  4. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-3EXGJ5BE_js.js");
  5. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_xstate_js.js");
  6. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_reduxjs_toolkit_js.js");
  7. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_i18next_js.js");
  8. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-redux_js.js");
  9. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-77KB62LY_js.js");
  10. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_react-i18next_js.js");
  11. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js.js");
  12. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-6GAVBEBQ_js.js");
  13. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_i18next-browser-languagedetector_js.js");
  14. require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_runtime_js.js");
  15. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js.js");
  16. require("./prebundle/vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js.js");
  17. require("./prebundle/remoteEntry.js");
  18. require("./prebundle/node_modules_taro_weapp_prebundle_react_jsx-runtime_js.js");
  19. require("./prebundle/node_modules_taro_weapp_prebundle_react_js.js");
  20. require("./prebundle/node_modules_taro_weapp_prebundle_react-dom_js.js");
  21. require("./prebundle/node_modules_taro_weapp_prebundle_tarojs_taro_js.js");
  22. require("./common");
  23. require("./vendors");
  24. require("./taro");
  25. require("./runtime");
  26. (wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["app"],{
  27. /***/ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.tsx":
  28. /*!******************************************************************************************!*\
  29. !*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.tsx ***!
  30. \******************************************************************************************/
  31. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  32. /* harmony import */ var _context_locales_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./context/locales/index */ "./src/context/locales/index.ts");
  33. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ "webpack/container/remote/react-redux");
  34. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
  35. /* harmony import */ var _store_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store/store */ "./src/store/store.tsx");
  36. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
  37. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
  38. // import 'taro-ui/dist/style/index.scss'
  39. var App = function App(_ref) {
  40. var children = _ref.children;
  41. return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_redux__WEBPACK_IMPORTED_MODULE_1__.Provider, {
  42. store: _store_store__WEBPACK_IMPORTED_MODULE_2__["default"],
  43. children: children
  44. });
  45. };
  46. // class App extends Component<PropsWithChildren> {
  47. // componentDidMount () {}
  48. // componentDidShow () {}
  49. // componentDidHide () {}
  50. // // this.props.children 是将要会渲染的页面
  51. // render () {
  52. // return this.props.children
  53. // }
  54. // }
  55. /* harmony default export */ __webpack_exports__["default"] = (App);
  56. /***/ }),
  57. /***/ "./src/app.tsx":
  58. /*!*********************!*\
  59. !*** ./src/app.tsx ***!
  60. \*********************/
  61. /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
  62. /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/plugin-platform-weapp/dist/runtime */ "webpack/container/remote/@tarojs/plugin-platform-weapp/dist/runtime");
  63. /* harmony import */ var _tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_platform_weapp_dist_runtime__WEBPACK_IMPORTED_MODULE_0__);
  64. /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tarojs/runtime */ "webpack/container/remote/@tarojs/runtime");
  65. /* harmony import */ var _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__);
  66. /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tarojs/plugin-framework-react/dist/runtime */ "webpack/container/remote/@tarojs/plugin-framework-react/dist/runtime");
  67. /* harmony import */ var _tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__);
  68. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
  69. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__);
  70. /* harmony import */ var _node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_app_tsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./app.tsx */ "./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/app.tsx");
  71. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
  72. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
  73. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-dom */ "webpack/container/remote/react-dom");
  74. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_6__);
  75. var config = {"pages":["pages/Clock","pages/index/index","pages/Login","pages/Auth","pages/ChooseAuth","pages/ChooseScenario","pages/SetSchedule","pages/H5","pages/Profile","pages/Metric","pages/Activity"],"subPackages":[{"root":"moduleA","pages":["pages/third"]}],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#000000","navigationBarTitleText":"Weixin","navigationBarTextStyle":"white","backgroundColor":"#000000"},"darkmode":true,"tabBar":{"custom":true,"list":[{"pagePath":"pages/Clock","text":"首页"},{"pagePath":"pages/Metric","text":"第二页"},{"pagePath":"pages/Activity","text":"第三页"},{"pagePath":"pages/Profile","text":"第四页"}]}};
  76. _tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__.window.__taroAppConfig = config
  77. var inst = App((0,_tarojs_plugin_framework_react_dist_runtime__WEBPACK_IMPORTED_MODULE_2__.createReactApp)(_node_modules_babel_loader_lib_index_js_ruleSet_1_rules_5_use_0_app_tsx__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), config))
  78. ;(0,_tarojs_taro__WEBPACK_IMPORTED_MODULE_3__.initPxTransform)({
  79. designWidth: 750,
  80. deviceRatio: {"640":1.17,"750":1,"828":0.905},
  81. baseFontSize: 20,
  82. unitPrecision: undefined,
  83. targetUnit: undefined
  84. })
  85. /***/ }),
  86. /***/ "./src/context/locales/en.js":
  87. /*!***********************************!*\
  88. !*** ./src/context/locales/en.js ***!
  89. \***********************************/
  90. /***/ (function(__unused_webpack_module, __webpack_exports__) {
  91. /* harmony default export */ __webpack_exports__["default"] = ({
  92. languageList: {
  93. switch_language: 'Switch Language',
  94. zh: 'Chinese',
  95. en: 'English'
  96. },
  97. page: {
  98. choose_language: {
  99. title: '',
  100. sub_title: '',
  101. btn_confirm: ''
  102. },
  103. choose_auth: {
  104. app_name: '',
  105. btn_create_account: '',
  106. btn_login: '登录',
  107. btn_wechat: '微信登录'
  108. },
  109. auth: {
  110. agreement: 'I agree to the Terms of Service and Privacy Policy.'
  111. },
  112. choose_scenario: {
  113. title: 'Choose scenario',
  114. sub_title: 'A scenario clock will display on homepage',
  115. btn_next: 'Next',
  116. btn_more: 'Learn more',
  117. fast: 'Fast',
  118. sleep: 'Sleep',
  119. fast_sleep: 'Fast Sleep'
  120. },
  121. set_goal: {
  122. title: '',
  123. btn_done: ''
  124. }
  125. },
  126. feature: {
  127. tabbar: {
  128. clock: 'Clock',
  129. metric: 'Metric',
  130. activity: 'Activity',
  131. nutrition: 'Nutrition',
  132. profile: 'Profile'
  133. },
  134. auth: {
  135. create_account: {
  136. title: 'Create Account',
  137. sub_title: 'Enter username and email',
  138. input_username_placeholder: 'Username',
  139. input_email_placeholder: 'Email',
  140. footer_desc: 'Already have an account? ',
  141. footer_login: 'Log in',
  142. btn_next: 'Next'
  143. },
  144. login: {
  145. input_account_placeholder: 'Username or email',
  146. input_password_placeholder: 'Password',
  147. footer_desc: 'Don\'t have an account? ',
  148. footer_sign_up: 'Create account'
  149. },
  150. create_password: {
  151. title: 'Create password',
  152. sub_title: 'Enter password and confirm',
  153. input_password_placeholder: 'Password',
  154. input_password_confirm_placeholder: 'Confirm Password',
  155. btn_next: 'Next'
  156. }
  157. },
  158. track_time_duration: {
  159. action_sheet: {
  160. change_schedule: 'Change schedule',
  161. switch_scenario: 'Switch scenario',
  162. give_up: 'Give up',
  163. end_fast: 'End fast',
  164. cancel: 'Cancel'
  165. }
  166. }
  167. }
  168. });
  169. /***/ }),
  170. /***/ "./src/context/locales/index.ts":
  171. /*!**************************************!*\
  172. !*** ./src/context/locales/index.ts ***!
  173. \**************************************/
  174. /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
  175. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tarojs/taro */ "webpack/container/remote/@tarojs/taro");
  176. /* harmony import */ var _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tarojs_taro__WEBPACK_IMPORTED_MODULE_0__);
  177. /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "webpack/container/remote/i18next-browser-languagedetector");
  178. /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__);
  179. /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next */ "webpack/container/remote/i18next");
  180. /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(i18next__WEBPACK_IMPORTED_MODULE_2__);
  181. /* harmony import */ var _zh__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./zh */ "./src/context/locales/zh.js");
  182. /* harmony import */ var _en__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./en */ "./src/context/locales/en.js");
  183. /* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-i18next */ "webpack/container/remote/react-i18next");
  184. /* harmony import */ var react_i18next__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_i18next__WEBPACK_IMPORTED_MODULE_5__);
  185. _tarojs_taro__WEBPACK_IMPORTED_MODULE_0___default().getStorage({
  186. key: 'language'
  187. }).then(function (res) {
  188. // initLocale(res.data)
  189. initLocale('zh');
  190. }).catch(function (err) {
  191. initLocale('zh');
  192. });
  193. function initLocale(strLocale) {
  194. i18next__WEBPACK_IMPORTED_MODULE_2___default().use((i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1___default())) //嗅探当前浏览器语言
  195. .use(react_i18next__WEBPACK_IMPORTED_MODULE_5__.initReactI18next) //init i18next
  196. .init({
  197. //引入资源文件
  198. resources: {
  199. en: {
  200. translation: _en__WEBPACK_IMPORTED_MODULE_4__["default"]
  201. },
  202. zh: {
  203. translation: _zh__WEBPACK_IMPORTED_MODULE_3__["default"]
  204. }
  205. },
  206. //选择默认语言,选择内容为上述配置中的key,即en/zh
  207. lng: strLocale,
  208. //Taro.getStorageSync('language') ? Taro.getStorageSync('language') : 'en',
  209. debug: false,
  210. interpolation: {
  211. escapeValue: false // not needed for react as it escapes by default
  212. }
  213. });
  214. }
  215. /* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((i18next__WEBPACK_IMPORTED_MODULE_2___default()));
  216. /***/ }),
  217. /***/ "./src/context/locales/zh.js":
  218. /*!***********************************!*\
  219. !*** ./src/context/locales/zh.js ***!
  220. \***********************************/
  221. /***/ (function(__unused_webpack_module, __webpack_exports__) {
  222. /* harmony default export */ __webpack_exports__["default"] = ({
  223. languageList: {
  224. switch_language: '切换语言',
  225. zh: '中文',
  226. en: '英文'
  227. },
  228. page: {
  229. choose_language: {
  230. title: '',
  231. sub_title: '',
  232. btn_confirm: ''
  233. },
  234. choose_auth: {
  235. app_name: '',
  236. btn_create_account: '',
  237. btn_login: '登录',
  238. btn_wechat: '微信登录'
  239. },
  240. auth: {
  241. agreement: '已阅读并同意《用户协议》和《隐私政策》'
  242. },
  243. choose_scenario: {
  244. title: '选择场景',
  245. sub_title: '场景时钟将在首页展示',
  246. btn_next: '下一步',
  247. btn_more: '了解更多',
  248. fast: '断食',
  249. sleep: '睡眠',
  250. fast_sleep: '断食睡眠'
  251. }
  252. },
  253. feature: {
  254. tabbar: {
  255. clock: '时钟',
  256. metric: '指标',
  257. activity: '运动',
  258. nutrition: '营养',
  259. profile: '我'
  260. },
  261. auth: {
  262. create_account: {
  263. title: '注册账号',
  264. sub_title: '创建用户名',
  265. input_username_placeholder: '用户名',
  266. input_email_placeholder: '邮箱',
  267. footer_desc: '已有账号?',
  268. footer_login: '去登录',
  269. btn_next: '下一步'
  270. },
  271. login: {
  272. input_account_placeholder: '用户名或邮箱',
  273. input_password_placeholder: '密码',
  274. footer_desc: '还没有账号?',
  275. footer_sign_up: '去注册'
  276. },
  277. create_password: {
  278. title: '创建密码',
  279. sub_title: '输入并确认密码',
  280. input_password_placeholder: '密码',
  281. input_password_confirm_placeholder: '确认密码',
  282. btn_next: '下一步'
  283. }
  284. },
  285. track_time_duration: {
  286. action_sheet: {
  287. change_schedule: '调整日程',
  288. switch_scenario: '切换场景',
  289. give_up: '放弃终止',
  290. end_fast: '结束断食',
  291. cancel: '取消'
  292. }
  293. }
  294. }
  295. });
  296. /***/ }),
  297. /***/ "./src/store/demo.tsx":
  298. /*!****************************!*\
  299. !*** ./src/store/demo.tsx ***!
  300. \****************************/
  301. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  302. /* unused harmony exports increment, decrement, incrementByAmount, apple */
  303. /* harmony import */ var _Users_Work_hola_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */ "./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");
  304. /* harmony import */ var _Users_Work_hola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
  305. /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @reduxjs/toolkit */ "webpack/container/remote/@reduxjs/toolkit");
  306. /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);
  307. var initialState = {
  308. value: 0
  309. };
  310. var counterSlice = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createSlice)({
  311. name: 'counter',
  312. initialState: initialState,
  313. reducers: {
  314. increment: function increment(state) {
  315. state.value += 1;
  316. },
  317. decrement: function decrement(state) {
  318. state.value -= 1;
  319. },
  320. incrementByAmount: function incrementByAmount(state, action) {
  321. state.value += action.payload;
  322. }
  323. }
  324. });
  325. var _counterSlice$actions = counterSlice.actions,
  326. increment = _counterSlice$actions.increment,
  327. decrement = _counterSlice$actions.decrement,
  328. incrementByAmount = _counterSlice$actions.incrementByAmount;
  329. var apple = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.createAsyncThunk)('user/wxLogin', /*#__PURE__*/function () {
  330. var _ref2 = (0,_Users_Work_hola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/(0,_Users_Work_hola_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__["default"])().mark(function _callee(payload, _ref) {
  331. var dispatch;
  332. return (0,_Users_Work_hola_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_2__["default"])().wrap(function _callee$(_context) {
  333. while (1) switch (_context.prev = _context.next) {
  334. case 0:
  335. dispatch = _ref.dispatch;
  336. dispatch(increment());
  337. // console.log(payload.code)
  338. // request({
  339. // url: API_LOGIN, method: 'POST', data: { 'code':payload.code,type:'WX_MP',app_version:'1',client_version:'1',client_type:'WXP_MP' }
  340. // }).then(res => {
  341. // console.log(res);
  342. // dispatch(loginSuccess(res));
  343. // })
  344. case 2:
  345. case "end":
  346. return _context.stop();
  347. }
  348. }, _callee);
  349. }));
  350. return function (_x, _x2) {
  351. return _ref2.apply(this, arguments);
  352. };
  353. }());
  354. /* harmony default export */ __webpack_exports__["default"] = (counterSlice.reducer);
  355. /***/ }),
  356. /***/ "./src/store/store.tsx":
  357. /*!*****************************!*\
  358. !*** ./src/store/store.tsx ***!
  359. \*****************************/
  360. /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
  361. /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @reduxjs/toolkit */ "webpack/container/remote/@reduxjs/toolkit");
  362. /* harmony import */ var _reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__);
  363. /* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./user */ "./src/store/user.tsx");
  364. /* harmony import */ var _scenario__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./scenario */ "./src/store/scenario.tsx");
  365. /* harmony import */ var _demo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./demo */ "./src/store/demo.tsx");
  366. /* harmony import */ var _permission__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./permission */ "./src/store/permission.tsx");
  367. /* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common */ "./src/store/common.tsx");
  368. var store = (0,_reduxjs_toolkit__WEBPACK_IMPORTED_MODULE_0__.configureStore)({
  369. reducer: {
  370. // 添加你的 reducer
  371. user: _user__WEBPACK_IMPORTED_MODULE_1__["default"],
  372. counter: _demo__WEBPACK_IMPORTED_MODULE_3__["default"],
  373. scenario: _scenario__WEBPACK_IMPORTED_MODULE_2__["default"],
  374. permission: _permission__WEBPACK_IMPORTED_MODULE_4__["default"],
  375. common: _common__WEBPACK_IMPORTED_MODULE_5__["default"]
  376. }
  377. });
  378. /* harmony default export */ __webpack_exports__["default"] = (store);
  379. /***/ })
  380. },
  381. /******/ function(__webpack_require__) { // webpackRuntimeModules
  382. /******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
  383. /******/ __webpack_require__.O(0, ["vendors","common"], function() { return __webpack_exec__("./src/app.tsx"); });
  384. /******/ var __webpack_exports__ = __webpack_require__.O();
  385. /******/ }
  386. ]);;;
  387. //# sourceMappingURL=app.js.map