|
@ -99,7 +99,7 @@ var TemplateItems = {
|
|
vm.loading.close()
|
|
vm.loading.close()
|
|
toastr && toastr.success("保存成功")
|
|
toastr && toastr.success("保存成功")
|
|
EventBus.$emit("refresh-index")
|
|
EventBus.$emit("refresh-index")
|
|
vm.$router.back()
|
|
|
|
|
|
vm.$router.replace("/")
|
|
} else {
|
|
} else {
|
|
vm.loading.close()
|
|
vm.loading.close()
|
|
toastr && toastr.error(res.msg)
|
|
toastr && toastr.error(res.msg)
|