Commit 5742513e authored by wildfirecode13's avatar wildfirecode13

1

parent 52d1468d
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
CFG.appID = '${APPID}'; CFG.appID = '${APPID}';
if (!getUrlParam("appID")) { if (!getUrlParam("appID")) {
alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。") // alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
} }
</script> </script>
</head> </head>
......
...@@ -3,6 +3,7 @@ import ReactDOM from "react-dom"; ...@@ -3,6 +3,7 @@ import ReactDOM from "react-dom";
import "./app.less"; import "./app.less";
import Modal from './modal/modal'; import Modal from './modal/modal';
import MD from '../MD'; import MD from '../MD';
import Start from './components/start/start.jsx'
MD(); MD();
//此处为spark-cli动态生成 //此处为spark-cli动态生成
...@@ -11,7 +12,7 @@ class App extends Component { ...@@ -11,7 +12,7 @@ class App extends Component {
render() { render() {
return ( return (
<div> <div>
<div>请在app.jsx中指定首页</div> <Start>请在app.jsx中指定首页</Start>
<Modal /> <Modal />
</div> </div>
); );
......
...@@ -4,7 +4,7 @@ import React, { Component } from 'react'; ...@@ -4,7 +4,7 @@ import React, { Component } from 'react';
import { RES_PATH } from '../../../sparkrc.js'; import { RES_PATH } from '../../../sparkrc.js';
import './start.less'; import './start.less';
@observer
class Start extends Component { class Start extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
......
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