解决 db_plat 数据携带&时的bug

This commit is contained in:
2019-05-19 18:31:21 +08:00
parent 319890ea69
commit 7fd694fc69
3 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ const plat = {
return red.getX('/plat/db_list', params)
},
dbSave({plat}) {
return red.postX('/plat/db_save', {plat:JSON.stringify(plat)})
plat["url"] = escape(plat["url"])
return red.postX('/plat/db_save', {plat: JSON.stringify(plat)})
},
}