|
|
@@ -125,15 +125,15 @@ const h_afterRead = (filePath: string) => {
|
|
|
|
|
|
const onUpload = (filePath: string) => {
|
|
|
shopphotos.value.push(filePath)
|
|
|
- formData.shopphotos = shopphotos.value.join(',')
|
|
|
+ formData.shopphotos = shopphotos.value.join(';')
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const onDelete = (index: number) => {
|
|
|
shopphotos.value.splice(index, 1)
|
|
|
- formData.shopphotos = shopphotos.value.join(',')
|
|
|
+ formData.shopphotos = shopphotos.value.join(';')
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// 表单验证规则
|
|
|
const formRules: { [key in keyof Model.AddAuthReq]?: FieldRule[] } = {
|
|
|
username: [{
|