Skip to content

Commit

Permalink
feat(低代码): 修复低代码链接跳转
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Jun 13, 2022
1 parent 3c3d27d commit 2dcd192
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dgiot/dgiot-dashboard",
"version": "4.5.5",
"version": "4.5.4",
"author": "iotn2n",
"license": "MPL-2.0",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion src/views/CloudFunction/lowcode/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@
async handleEdit(row) {
const loading = this.$baseLoading(1)
const { data = {} } = await getView(row.objectId)
if (['amis_view', 'amis', 'topo'].includes(row.type)) {
if (['amis_view', 'amis', 'topo'].includes(row.type) == -1) {
this.$router.push({
path: '/Topo?productid',
query: {
Expand Down
4 changes: 2 additions & 2 deletions src/views/CloudPressure/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@
const params = {
reportid: row.objectId,
templateUrl: row.basedata.templateUrl,
grafanaHost: location.hostname,
parseHost: location.hostname,
// grafanaHost: location.hostname,
// parseHost: location.hostname,
}
const res = await axios.post('/grafana/generateReport', params, {
Expand Down

0 comments on commit 2dcd192

Please sign in to comment.