chore: image edit invert painting area
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { initialPasswordAtom, userAtom } from '@/atoms/user';
|
||||
import SealInput from '@/components/seal-form/seal-input';
|
||||
import { PasswordReg } from '@/config';
|
||||
import { CRYPT_TEXT } from '@/utils/localstore/index';
|
||||
import { GlobalOutlined, LockOutlined } from '@ant-design/icons';
|
||||
import { SelectLang, useIntl } from '@umijs/max';
|
||||
import { Button, Form, message } from 'antd';
|
||||
@@ -9,8 +10,6 @@ import { useAtom } from 'jotai';
|
||||
import { updatePassword } from '../apis';
|
||||
import { checkDefaultPage } from '../utils';
|
||||
|
||||
const CRYPT_TEXT = 'seal';
|
||||
|
||||
const PasswordForm: React.FC = () => {
|
||||
const intl = useIntl();
|
||||
const [form] = Form.useForm();
|
||||
@@ -28,7 +27,6 @@ const PasswordForm: React.FC = () => {
|
||||
};
|
||||
|
||||
const handleSubmit = async (values: any) => {
|
||||
console.log('values', values, form);
|
||||
try {
|
||||
await updatePassword({
|
||||
new_password: values.new_password,
|
||||
|
||||
Reference in New Issue
Block a user