1 line
957 B
JSON
1 line
957 B
JSON
{"ast":null,"code":"import { mapState } from \"vuex\";\nimport GoodRoad from \"@/components/GoodRoad.vue\";\nimport TableList from \"@/components/TableList.vue\";\nexport default {\n name: \"SwitchTab\",\n props: {\n tabInfo: Object,\n default: () => ({\n game_id: 1,\n table_id: null\n })\n },\n data() {\n return {\n active: 0\n };\n },\n components: {\n GoodRoad,\n TableList\n },\n created() {},\n methods: {\n chooseType(active) {\n this.active = active;\n },\n close() {\n this.$emit(\"showSwitchtab\", false);\n }\n },\n computed: {\n ...mapState({\n Lang: state => state.config.$lang,\n Type: state => state.config.$Type,\n font: state => state.config.fonstSize,\n tabData: state => state.app.allTableData,\n userInfo: state => state.app.userInfo\n })\n },\n watch: {}\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} |