Skip to content

Commit ba6564d

Browse files
committed
Переход на новую идеологию 41
1 parent 45f36d7 commit ba6564d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "showcase3",
33
"author": "CourseIT",
4-
"version": "1.15.1",
4+
"version": "1.16.0",
55
"description": "showcase3",
66
"license": "GNU GENERAL PUBLIC LICENSE, Version 3",
77
"repository": {

src/library/URLMapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function useURLMapper(useModel: Array<URLParam>) {
157157
useModel.forEach((param: URLParam) => {
158158
if (_query.query[param.name]) {
159159
param.props.forEach((prop: string) => {
160-
if (typeof _query.query[param.name] === "object") {
160+
if (typeof _query.query[param.name] === "object" && !param.obj.setter) {
161161
param.obj[prop] = _query.query[param.name][prop];
162162
} else {
163163
param.obj[prop] = _query.query[param.name];

0 commit comments

Comments
 (0)