1 line
858 B
JSON
1 line
858 B
JSON
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n money: 0,\n show: false,\n times: false,\n game_id: 4\n })\n }\n },\n setup(props, {\n emit\n }) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n // 确认下注\n const confirm = () => {\n emit(\"confirm\");\n };\n // 取消下注\n const cancel = () => {\n emit(\"cancel\");\n };\n return {\n Type,\n Lang,\n confirm,\n cancel,\n props\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} |