yz3456
2024-05-30 a27ffbdd8353c381312839a0c00ae7444c7a381c
ruoyi-ui/src/views/register.vue
@@ -1,7 +1,7 @@
<template>
  <div class="register">
    <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
      <h3 class="title">张氏APP后台管理系统</h3>
      <h3 class="title">新用户注册</h3>
      <el-form-item prop="username">
        <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
          <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@@ -115,8 +115,8 @@
      getCodeImg().then(res => {
        this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled;
        if (this.captchaEnabled) {
          this.codeUrl = "data:image/gif;base64," + res.img;
          this.registerForm.uuid = res.uuid;
          this.codeUrl = "data:image/gif;base64," + res.data.img;
          this.registerForm.uuid = res.data.uuid;
        }
      });
    },
@@ -145,7 +145,7 @@
};
</script>
<style rel="stylesheet/scss" lang="scss">
<style rel="stylesheet/scss" scoped>
.register {
  display: flex;
  justify-content: center;