feat: type类型

This commit is contained in:
eric
2022-11-13 10:17:46 +08:00
parent 9a55d5d3ca
commit e61be149b8
5 changed files with 10 additions and 10 deletions

2
dist/app.js vendored
View File

@@ -95,7 +95,7 @@ var App = /*#__PURE__*/function (_Component) {
var config = {"pages":["pages/home/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}};
var config = {"pages":["pages/home/index","pages/activityList/index"],"window":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"}};
_tarojs_runtime__WEBPACK_IMPORTED_MODULE_1__.window.__taroAppConfig = config
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_ts__WEBPACK_IMPORTED_MODULE_4__["default"], react__WEBPACK_IMPORTED_MODULE_5__, (react_dom__WEBPACK_IMPORTED_MODULE_6___default()), config))

2
dist/app.js.map vendored

File diff suppressed because one or more lines are too long

12
dist/runtime.js vendored
View File

@@ -203,8 +203,8 @@
/******/ ],
/******/ "common": [
/******/ "webpack/container/remote/@tarojs/runtime",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/react",
/******/ "webpack/container/remote/@tarojs/taro",
/******/ "webpack/container/remote/react/jsx-runtime"
/******/ ]
/******/ };
@@ -229,16 +229,16 @@
/******/ "./@tarojs/runtime",
/******/ null
/******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react": [
/******/ "default",
/******/ "./react",
/******/ null
/******/ ],
/******/ "webpack/container/remote/@tarojs/taro": [
/******/ "default",
/******/ "./@tarojs/taro",
/******/ null
/******/ ],
/******/ "webpack/container/remote/react/jsx-runtime": [
/******/ "default",
/******/ "./react/jsx-runtime",

2
dist/runtime.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
import { Component } from "react";
import "./app.scss";
class App extends Component<PropsWithChildren> {
class App extends Component<any> {
componentDidMount() {}
componentDidShow () {}