Skip to content

Commit 30c19aa

Browse files
z275748353张龙彬
andauthored
Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#34 (#1438)
* add dataflow * add dataflow * remove antv/x6/lib/registry package * Fix bugs * Fix bugs * add package * add package * add zhHantOps * 1.Adjust the image path for operator management 2.Add permission judgment on whether to display the menu in operator management * Operator Management: Modification of dataflow/operator/ interface * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * 1.Add the cancellation of execution for internationalization and status verification 2.If a user has no organization or no authorized operators, all public operators will be queried by default * Add newly developed operators, internationalize tools, and supplement the internationalization of statistics. * Add newly developed operators, internationalize tools, and supplement the internationalization of statistics. * 1.Add template deletion function 2.Celery node deletion (admin only, offline status) 3.Block the option of creating tool operators, set tools as default 4.Internationalization update * Fix the bug of dataflow with ID #36 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#31 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#43 * Fix the bug of dataflow with ID OpenCSGs/csghub-dataflow#34 --------- Co-authored-by: 张龙彬 <[email protected]>
1 parent 098e8f3 commit 30c19aa

File tree

11 files changed

+2037
-86
lines changed

11 files changed

+2037
-86
lines changed

frontend/src/components/dataflow_config/Menu.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ import { ElMessage, ElLoading } from "element-plus";
196196
import { useI18n } from "vue-i18n";
197197
import useFetchApi from "@/packs/useFetchApi";
198198
import { useCookies } from "vue3-cookies";
199-
import useUserStore from '@/stores/UserStore'
200-
const userStore = useUserStore()
199+
import useUserStore from "@/stores/UserStore";
200+
const userStore = useUserStore();
201201
202202
const { cookies } = useCookies();
203203
204-
const { t } = useI18n();
204+
const { t, locale } = useI18n();
205205
const router = useRouter();
206206
const route = useRoute();
207207
const routes = router.getRoutes();
@@ -275,11 +275,9 @@ const jump = async () => {
275275
loading.close();
276276
console.log(data, "datadatadata");
277277
if (data.value?.code === 200) {
278-
window.open(
279-
`${data.value.data}`,
280-
"_blank"
281-
);
282-
}else {
278+
const origin = window.location.origin;
279+
window.open(`${data.value.data}&origin=${origin}&language=${locale.value}`, "_blank");
280+
} else {
283281
ElMessage.error(data.value.msg);
284282
}
285283

0 commit comments

Comments
 (0)