Commit b1594a32 authored by cellee's avatar cellee

打开提示

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 840e1386
......@@ -54,6 +54,9 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
clearText,
viewMoreText,
} = props;
console.log(loading);
if (!children) {
return null;
}
......@@ -84,7 +87,8 @@ const NoticeIcon: React.FC<NoticeIconProps> & {
);
});
return (
<Spin spinning={loading} delay={300}>
// <Spin spinning={loading} delay={300}>
<Spin delay={300}>
<Tabs className={styles.tabs} onChange={onTabChange}>
{panes}
</Tabs>
......
......@@ -78,7 +78,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
useEffect(() => {
console.log(login);
if (dispatch) {
console.log('Maple');
// console.log('Maple');
dispatch({
type: 'user/fetchCurrent',
playload: {
......
......@@ -42,6 +42,7 @@ const GlobalModel: GlobalModelType = {
effects: {
*fetchNotices(_, { call, put, select }) {
const data = yield call(queryNotices);
console.log(data);
yield put({
type: 'saveNotices',
payload: data,
......
......@@ -472,7 +472,7 @@ const Adds = (props: any) => {
name="residentialManagerUserName"
rules={village[6] as any}
>
<Input style={{ width: '160px' }} placeholder="Contacts" maxLength={30} />
<Input style={{ width: '160px' }} placeholder="Name" maxLength={30} />
</Form.Item>
<Form.Item label="Property Fee" name="propertyFee" style={{ marginBottom: '0' }}>
......
......@@ -169,6 +169,8 @@ const ContractContent = (props: any) => {
data: { imageType: 'tosContract', extends: comtyName },
fileList: fileList,
onChange: ({ file }: { file: any }) => {
console.log(file);
if (file.status === 'uploading') {
setimgLoad(true);
}
......
/*
* @Author: your name
* @Date: 2020-11-19 16:54:53
* @LastEditTime: 2020-11-27 17:32:30
* @LastEditors: your name
* @LastEditTime: 2020-11-30 15:00:30
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \tostumi\src\utils\tip.ts
*/
......@@ -69,9 +69,9 @@ export const BookingsTip = [
// 账号新增编辑
export const AccountTip = [
[{ required: false, type: 'email', message: 'Please enter email address !' }],
[{ required: false, message: 'Required' }],
[{ required: false, message: 'Please enter the correct contact information !' }],
[{ required: true, type: 'email', message: 'Please enter email address !' }],
[{ required: true, message: 'Required' }],
[{ required: true, message: 'Please enter the correct contact information !' }],
[{ required: true, message: 'Required' }],
[{ required: true, message: 'Required' }],
[{ required: true, message: 'Required' }],
......
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