魏熙美 5 years ago
parent
commit
7c6de802bc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/staff/list/editStaff.jsx

+ 1
- 1
src/pages/staff/list/editStaff.jsx View File

@@ -220,7 +220,7 @@ const Edit = (props) => {
220 220
 
221 221
   console.log('--------->', fields)
222 222
 
223
-  return <XForm onSubmit={handleSubmit} fields={fields}></XForm>
223
+  return <XForm onSubmit={handleSubmit} fields={fields} onCancel={() => router.go(-1)}></XForm>
224 224
 }
225 225
 
226 226