Ver código fonte

tiny bug fixed

Nivek 2 anos atrás
pai
commit
308addcf6a
2 arquivos alterados com 1 adições e 4 exclusões
  1. 0 2
      src/components/Login.vue
  2. 1 2
      src/components/Register.vue

+ 0 - 2
src/components/Login.vue

@@ -45,7 +45,6 @@
                 e.message,
                 '错误提示',
                 {
-                  customClass: "customDialog",
                   confirmButtonText: '好的',
                   type: "error",
                   showClose: false,
@@ -65,7 +64,6 @@
               e.message,
               '错误提示',
               {
-                customClass: "customDialog",
                 confirmButtonText: '好的',
                 type: "error",
                 showClose: false,

+ 1 - 2
src/components/Register.vue

@@ -47,7 +47,6 @@ async function handleRegister() {
             `${name.value},感谢您的注册!`,
             '注册成功',
             {
-              customClass: "customDialog",
               confirmButtonText: '跳转到登录',
               type: "success",
               showClose: false,
@@ -65,7 +64,6 @@ async function handleRegister() {
             e.message,
             '错误提示',
             {
-              customClass: "customDialog",
               confirmButtonText: '好的',
               type: "error",
               showClose: false,
@@ -112,6 +110,7 @@ async function handleRegister() {
                 <el-select id="identity"
                            v-model="identity"
                            placeholder="请选择"
+                           style="width: 100%;"
                 >
                   <el-option value="CUSTOMER" label="顾客"/>
                   <el-option value="STAFF" label="商家"/>