mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-05 15:05:27 +00:00
fix(embed): fallback i18n when host app has no vue-i18n plugin
This commit is contained in:
@@ -84,11 +84,11 @@ import shikigami from "../data/Shikigami.json"
|
||||
import ShikigamiSelect from "@/components/flow/nodes/yys/ShikigamiSelect.vue";
|
||||
import ShikigamiProperty from "@/components/flow/nodes/yys/ShikigamiProperty.vue";
|
||||
import _ from "lodash";
|
||||
import {useI18n} from "vue-i18n";
|
||||
import { useSafeI18n } from '@/ts/useSafeI18n';
|
||||
import draggable from 'vuedraggable';
|
||||
|
||||
|
||||
const {t} = useI18n()
|
||||
const { t } = useSafeI18n()
|
||||
|
||||
const props = defineProps<{
|
||||
groups: any[];
|
||||
@@ -264,4 +264,4 @@ const getYuhunPropertyNames = (yuhun) => {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user