Browse Source

优化+Api更改

noToken
安虹睿 1 year ago
parent
commit
8cd2e07b18
  1. 9
      PC/UI.WinIn.FasterZ.Store/public/config.js
  2. 1
      PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue
  3. 5
      PC/UI.WinIn.FasterZ.Store/src/lang/index.js

9
PC/UI.WinIn.FasterZ.Store/public/config.js

@ -1,9 +1,8 @@
// dev_win
// window.SITE_CONFIG['baseApi'] = 'http://dev.ccwin-in.com:60068'
// window.SITE_CONFIG['authApi'] = 'http://dev.ccwin-in.com:60068'
window.SITE_CONFIG['baseApi'] = 'http://192.168.0.190:30001'
window.SITE_CONFIG['authApi'] = 'http://192.168.0.190:30001'
window.SITE_CONFIG['userApi'] = 'http://192.168.0.190:30000'
// window.SITE_CONFIG['baseApi'] = 'http://192.168.0.190:30001'
window.SITE_CONFIG['baseApi'] = 'http://dev.ccwin-in.com:60065'
window.SITE_CONFIG['authApi'] = 'http://dev.ccwin-in.com:60065'
window.SITE_CONFIG['userApi'] = 'http://dev.ccwin-in.com:60064'
window.SITE_CONFIG['businessApi'] = 'http://dev.ccwin-in.com:10097'
window.SITE_CONFIG['columnsApiNamesZh'] = 'Store'
window.SITE_CONFIG['isAutoLogin'] = true

1
PC/UI.WinIn.FasterZ.Store/src/components/umyTable/index.vue

@ -219,6 +219,7 @@
>
<el-table-column
v-for="(head) in showJsonHeader"
:key="h_key"
min-width="120"
>
<template #header>

5
PC/UI.WinIn.FasterZ.Store/src/lang/index.js

@ -22,7 +22,7 @@ const messages = {
...enLocale,
}
}
console.log(localStorage.getItem("browserLanguage"))
const i18n = new VueI18n({
messages,
fallbackLocale: "zh-CN", // 匹配不到时默认的语言
@ -46,4 +46,5 @@ const translate = (localeKey) => {
return localeKey
}
export { i18n, messages, translate }
export { messages, translate }
export default i18n
Loading…
Cancel
Save