|
@@ -25,6 +25,10 @@ class BigScreen extends React.Component {
|
|
|
}
|
|
|
componentDidUpdate(prev) {
|
|
|
if (prev.roomObj != this.props.roomObj) {
|
|
|
+ Toast.show({
|
|
|
+ duration: 3000,
|
|
|
+ content: this.props.roomObj?.callMsg?.refreshFlag,
|
|
|
+ });
|
|
|
if (this.props.roomObj?.callMsg?.refreshFlag == 'Y') {
|
|
|
this.initRoom();
|
|
|
return; // 重新获取数据
|
|
@@ -75,6 +79,10 @@ class BigScreen extends React.Component {
|
|
|
if (!cache) {
|
|
|
return;
|
|
|
}
|
|
|
+ Toast.show({
|
|
|
+ duration: 3000,
|
|
|
+ content: '获取接口数据',
|
|
|
+ });
|
|
|
cache = JSON.parse(cache);
|
|
|
React.$fetchPost('04150031', {
|
|
|
params: [{
|