{"ast":null,"code":"import { mapState } from \"vuex\";\nexport default {\n name: \"SwitchTab\",\n data() {\n return {\n switchVideo: true\n };\n },\n created() {},\n methods: {\n switchVideoFn(type) {\n this.$store.commit(\"config/switchVideo\", type);\n },\n updateVideo(type, choose) {\n this.$store.commit(\"config/updateVideo\", {\n type,\n choose\n });\n }\n },\n computed: {\n ...mapState({\n Lang: state => state.config.$lang,\n Type: state => state.config.$Type,\n userInfo: state => state.app.userInfo,\n video: state => state.config.switchVideo,\n info: state => state.config.video\n })\n },\n watch: {\n video: {\n handler(state) {\n if (state == true) {\n this.switchVideo = true;\n } else {\n this.switchVideo = false;\n }\n },\n immediate: true\n }\n }\n};","map":{"version":3,"names":["mapState","name","data","switchVideo","created","methods","switchVideoFn","type","$store","commit","updateVideo","choose","computed","Lang","state","config","$lang","Type","$Type","userInfo","app","video","info","watch","handler","immediate"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/setCamera.vue"],"sourcesContent":["\n\n\n"],"mappings":"AAmDA,SAASA,QAAO,QAAS,MAAK;AAC9B,eAAe;EACbC,IAAI,EAAE,WAAW;EACjBC,IAAIA,CAAA,EAAG;IACL,OAAO;MACLC,WAAW,EAAE;IACf;EACF,CAAC;EACDC,OAAOA,CAAA,EAAG,CAAC,CAAC;EACZC,OAAO,EAAE;IACPC,aAAaA,CAACC,IAAI,EAAE;MAClB,IAAI,CAACC,MAAM,CAACC,MAAM,CAAC,oBAAoB,EAAEF,IAAI;IAC/C,CAAC;IACDG,WAAWA,CAACH,IAAI,EAAEI,MAAM,EAAE;MACxB,IAAI,CAACH,MAAM,CAACC,MAAM,CAAC,oBAAoB,EAAE;QAAEF,IAAI;QAAEI;MAAO,CAAC;IAC3D;EACF,CAAC;EACDC,QAAQ,EAAE;IACR,GAAGZ,QAAQ,CAAC;MACVa,IAAI,EAAGC,KAAK,IAAKA,KAAK,CAACC,MAAM,CAACC,KAAK;MACnCC,IAAI,EAAGH,KAAK,IAAKA,KAAK,CAACC,MAAM,CAACG,KAAK;MACnCC,QAAQ,EAAGL,KAAK,IAAKA,KAAK,CAACM,GAAG,CAACD,QAAQ;MACvCE,KAAK,EAAGP,KAAK,IAAKA,KAAK,CAACC,MAAM,CAACZ,WAAW;MAC1CmB,IAAI,EAAGR,KAAK,IAAKA,KAAK,CAACC,MAAM,CAACM;IAChC,CAAC;EACH,CAAC;EACDE,KAAK,EAAE;IACLF,KAAK,EAAE;MACLG,OAAOA,CAACV,KAAK,EAAE;QACb,IAAIA,KAAI,IAAK,IAAI,EAAE;UACjB,IAAI,CAACX,WAAU,GAAI,IAAG;QACxB,OAAO;UACL,IAAI,CAACA,WAAU,GAAI,KAAI;QACzB;MACF,CAAC;MACDsB,SAAS,EAAE;IACb;EACF;AACF"},"metadata":{},"sourceType":"module","externalDependencies":[]}