mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
fix(JQ Tester): fix import and typo
This commit is contained in:
1 parent
28eedcf114
commit
be41dd6175
1 file changed
+6
-2
@@ -2,7 +2,7 @@
|
|||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import JSON5 from 'json5';
|
import JSON5 from 'json5';
|
||||||
import jsonpath from 'jsonpath';
|
import jsonpath from 'jsonpath';
|
||||||
import jq from 'jq-wasm';
|
import * as jq from 'jq-wasm';
|
||||||
import TextareaCopyable from '@/components/TextareaCopyable.vue';
|
import TextareaCopyable from '@/components/TextareaCopyable.vue';
|
||||||
import { useValidation } from '@/composable/validation';
|
import { useValidation } from '@/composable/validation';
|
||||||
import { useQueryParam } from '@/composable/queryParams';
|
import { useQueryParam } from '@/composable/queryParams';
|
||||||
@@ -73,7 +73,11 @@ const jsonValidation = useValidation({
|
|||||||
|
|
||||||
<div mb-2 flex justify-center>
|
<div mb-2 flex justify-center>
|
||||||
<c-link v-if="jqtype === 'jq'" target="_blank" to="/jq-memo" mb-1 mt-1>
|
<c-link v-if="jqtype === 'jq'" target="_blank" to="/jq-memo" mb-1 mt-1>
|
||||||
{{ t('tools.jq-tester.texts.tag-see') }}<code>{{ t('tools.jq-tester.texts.tag-jq') }}</code>{{ t('tools.jq-tester.texts.tag-cheatsheet') }}
|
{{ t('tools.jq-tester.texts.tag-see') }}
|
||||||
|
<code>
|
||||||
|
{{ t('tools.jq-tester.texts.tag-jq') }}
|
||||||
|
</code>
|
||||||
|
{{ t('tools.jq-tester.texts.tag-cheatsheet') }}
|
||||||
</c-link>
|
</c-link>
|
||||||
<c-link v-if="jqtype === 'jsonpath'" target="_blank" to="/jsonpath-memo" mb-1 mt-1>
|
<c-link v-if="jqtype === 'jsonpath'" target="_blank" to="/jsonpath-memo" mb-1 mt-1>
|
||||||
{{ t('tools.jq-tester.texts.tag-see-jsonpath-cheatsheet') }}
|
{{ t('tools.jq-tester.texts.tag-see-jsonpath-cheatsheet') }}
|
||||||
|
|||||||
Reference in new issue
Block a user