mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-20 07:43:49 +08:00
Fix console warnings.
This commit is contained in:
@ -6,16 +6,6 @@
|
|||||||
"src": "favicon.png",
|
"src": "favicon.png",
|
||||||
"sizes": "64x64 32x32 24x24 16x16",
|
"sizes": "64x64 32x32 24x24 16x16",
|
||||||
"type": "image/x-icon"
|
"type": "image/x-icon"
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "logo192.png",
|
|
||||||
"type": "image/png",
|
|
||||||
"sizes": "192x192"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "logo512.png",
|
|
||||||
"type": "image/png",
|
|
||||||
"sizes": "512x512"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"start_url": ".",
|
"start_url": ".",
|
||||||
|
@ -52,6 +52,7 @@ class OrganizationListPage extends React.Component {
|
|||||||
favicon: "https://cdn.casbin.com/static/favicon.ico",
|
favicon: "https://cdn.casbin.com/static/favicon.ico",
|
||||||
passwordType: "plain",
|
passwordType: "plain",
|
||||||
PasswordSalt: "",
|
PasswordSalt: "",
|
||||||
|
phonePrefix: "86",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ class UserEditPage extends React.Component {
|
|||||||
const linkedValue = this.state.user[provider.type.toLowerCase()];
|
const linkedValue = this.state.user[provider.type.toLowerCase()];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Row style={{marginTop: '20px'}} >
|
<Row key={provider.name} style={{marginTop: '20px'}} >
|
||||||
<Col style={{marginTop: '5px'}} span={2}>
|
<Col style={{marginTop: '5px'}} span={2}>
|
||||||
{
|
{
|
||||||
Setting.getProviderLogo(provider)
|
Setting.getProviderLogo(provider)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {Link} from "react-router-dom";
|
import {Link} from "react-router-dom";
|
||||||
import {Form, Input, Select, Checkbox, Button, Row, Col, Result} from 'antd';
|
import {Form, Input, Checkbox, Button, Row, Col, Result} from 'antd';
|
||||||
import * as Setting from "../Setting";
|
import * as Setting from "../Setting";
|
||||||
import * as AuthBackend from "./AuthBackend";
|
import * as AuthBackend from "./AuthBackend";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
@ -22,8 +22,6 @@ import * as Util from "./Util";
|
|||||||
import {authConfig} from "./Auth";
|
import {authConfig} from "./Auth";
|
||||||
import * as ApplicationBackend from "../backend/ApplicationBackend";
|
import * as ApplicationBackend from "../backend/ApplicationBackend";
|
||||||
|
|
||||||
const { Option } = Select;
|
|
||||||
|
|
||||||
const formItemLayout = {
|
const formItemLayout = {
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: {
|
xs: {
|
||||||
|
Reference in New Issue
Block a user