Explorar o código

去掉jsx中的form={form}

xwlyy %!s(int64=5) %!d(string=hai) anos
pai
achega
8bafb4a745
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/components/Login/Login.vue

+ 1 - 2
src/components/Login/Login.vue

@@ -66,7 +66,6 @@ const Login = {
   },
   render() {
     const { tabs, type } = this.$data;
-    const { form } = this.$props;
     const children = this.$slots.default;
     const TabChildren = [];
     const otherChildren = [];
@@ -86,7 +85,7 @@ const Login = {
     return (
       <LoginContext.Provider value={this.getContext()}>
         <div class="login">
-          <Form form={form} onSubmit={this.handleSubmit}>
+          <Form onSubmit={this.handleSubmit}>
             {tabs.length > 0 ? (
               <div>
                 <Tabs