|
|
@@ -11,8 +11,8 @@ const address = ref('')
|
|
|
const password = ref('')
|
|
|
const confirmPassword = ref('')
|
|
|
|
|
|
-//对于商家用户,还需要在注册时选择所属商店,从而传入storeId。但由于Lab2才会开发商店模块,所以这里暂且设置一个Id为1的商店,待Lab2完善
|
|
|
-const storeId = ref<number>()
|
|
|
+//对于商家用户,还需要在注册时选择所属商店,从而传入storeId。但由于Lab2才会开发商店模块,所以这里暂且设置唯一一个Id为1的商店1,待Lab2完善
|
|
|
+const storeId = ref()
|
|
|
|
|
|
// 电话号码是否为空
|
|
|
const hasTelInput = computed(() => tel.value != '')
|
|
|
@@ -163,7 +163,7 @@ function handleRegister() {
|
|
|
placeholder="请选择"
|
|
|
style="width: 100%;"
|
|
|
>
|
|
|
- <el-option value="1" label="商店"/>
|
|
|
+ <el-option value="1" label="商店1"/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|