@@ -144,6 +144,12 @@
>注册</el-button
>
</el-form-item>
+
+ <el-form-item class="panel-form-item">
+ <el-button text type="plain" class="fill text-btn" @click="toLogin"
+ >已注册,去登录</el-button
+ >
+ </el-form-item>
</el-form>
</div>
</template>
@@ -266,6 +272,10 @@ const submitClick = async () => {
throw "";
}
};
+const toLogin = () => {
+ emit('done')
+};
</script>
<style lang="scss" scoped>