新增数据,开始安全巡检模块
This commit is contained in:
@@ -129,8 +129,7 @@ const submitForm = () => {
|
||||
formRef.value?.validate(async (valid: boolean) => {
|
||||
if (valid) {
|
||||
const data = {
|
||||
...form.value,
|
||||
villageId: Number(localStorage.getItem('villageid'))
|
||||
...form.value
|
||||
};
|
||||
if (storeRoomid.value !== null) {
|
||||
updateStoreroom(data).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user