Skip to content

Commit e50d820

Browse files
committed
chore: remove i18n in br/master
1 parent fe89166 commit e50d820

File tree

15 files changed

+14
-163
lines changed

15 files changed

+14
-163
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@antv/data-set": "^0.10.2",
16-
"ant-design-vue": "1.3.16",
16+
"ant-design-vue": "1.4.0-beta.0",
1717
"axios": "^0.19.0",
1818
"core-js": "2.6.9",
1919
"enquire.js": "^2.1.6",
@@ -27,7 +27,6 @@
2727
"vue": "^2.6.10",
2828
"vue-clipboard2": "^0.2.1",
2929
"vue-cropper": "0.4.9",
30-
"vue-i18n": "^8.14.0",
3130
"vue-ls": "^3.2.1",
3231
"vue-quill-editor": "^3.0.6",
3332
"vue-router": "^3.1.2",

src/components/tools/LangSelect.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
</template>
3030

3131
<script>
32-
import { mixin as langMixin } from '@/store/i18n-mixin'
32+
// import { mixin as langMixin } from '@/store/i18n-mixin'
3333
3434
export default {
3535
name: 'LangSelect',
36-
mixins: [langMixin],
36+
// mixins: [langMixin],
3737
data () {
3838
return {}
3939
},
4040
methods: {
41-
SwitchLang (row) {
42-
this.setLang(row.key)
43-
}
41+
// SwitchLang (row) {
42+
// this.setLang(row.key)
43+
// }
4444
}
4545
}
4646
</script>

src/components/tools/UserMenu.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,17 @@
3838
</a-menu-item>
3939
</a-menu>
4040
</a-dropdown>
41-
<lang-select />
4241
</div>
4342
</div>
4443
</template>
4544

4645
<script>
4746
import NoticeIcon from '@/components/NoticeIcon'
4847
import { mapActions, mapGetters } from 'vuex'
49-
import LangSelect from '@/components/tools/LangSelect'
5048
5149
export default {
5250
name: 'UserMenu',
5351
components: {
54-
LangSelect,
5552
NoticeIcon
5653
},
5754
computed: {

src/locales/index.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/locales/lang/en-US.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/locales/lang/pt-BR.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/locales/lang/zh-CN.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/locales/lang/zh-TW.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import bootstrap from './core/bootstrap'
1414
import './core/use'
1515
import './permission' // permission control
1616
import './utils/filter' // global filter
17-
import i18n from './locales'
1817

1918
Vue.config.productionTip = false
2019

@@ -24,7 +23,6 @@ Vue.use(VueAxios)
2423
new Vue({
2524
router,
2625
store,
27-
i18n,
2826
created: bootstrap,
2927
render: h => h(App)
3028
}).$mount('#app')

src/store/i18n-mixin.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)