1
This commit is contained in:
@@ -85,9 +85,9 @@ export default defineConfig({
|
|||||||
define: {
|
define: {
|
||||||
'process.env': {
|
'process.env': {
|
||||||
// API_URL: "http://guangdongadminapi.zhongshuai2023.com",
|
// API_URL: "http://guangdongadminapi.zhongshuai2023.com",
|
||||||
// API_URL: "https://iadminapi.zhongshuai2023.com",
|
API_URL: "http://iadminapi.zhongshuai2023.com",
|
||||||
// API_URL: "http://192.168.1.63:1002",
|
// API_URL: "http://192.168.1.63:1002",
|
||||||
API_URL: "http://192.168.1.54:1002",
|
// API_URL: "http://192.168.1.54:1002",
|
||||||
WS_URL: "ws://lv.com",
|
WS_URL: "ws://lv.com",
|
||||||
STATIC_URL: "http://lv.com",
|
STATIC_URL: "http://lv.com",
|
||||||
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
|
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ import { smsCode } from '@/services/user/user'
|
|||||||
|
|
||||||
export default ({ modalOpenState, onModalOpenState, onSubmit, type }) => {
|
export default ({ modalOpenState, onModalOpenState, onSubmit, type }) => {
|
||||||
const restFormRef = useRef<ProFormInstance>();
|
const restFormRef = useRef<ProFormInstance>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const handleFinish = async (formValues) => {
|
const handleFinish = async (formValues) => {
|
||||||
await onSubmit(formValues);
|
await onSubmit(formValues);
|
||||||
restFormRef.current?.resetFields();
|
restFormRef.current?.resetFields();
|
||||||
|
|||||||
Reference in New Issue
Block a user