diff --git a/src/components/DictRadio/index.vue b/src/components/DictRadio/index.vue index f12dd42..14c1ded 100644 --- a/src/components/DictRadio/index.vue +++ b/src/components/DictRadio/index.vue @@ -5,7 +5,6 @@ + diff --git a/src/views/oms/order/index.vue b/src/views/oms/order/index.vue index 335932f..17ddfae 100644 --- a/src/views/oms/order/index.vue +++ b/src/views/oms/order/index.vue @@ -248,7 +248,6 @@ import { } from '@/api/oms/order'; import AddressSelector from '@/views/components/AddressSelector/index.vue'; import dateUtil, { dateFormat } from '@/utils/DateUtil'; -import { isStarRepo } from '@/utils/is-star-plugin'; import { useUserStore } from '@/store/modules/user'; export default { @@ -363,29 +362,19 @@ export default { } } }, - async created() { - const res = await isStarRepo( - 'zccbbg', - 'RuoYi-Mall', - this.userId, - 'https://mall.ichengle.top/order/order', - 'ruoyi-mall-商城', - 'https://gitee.com/zccbbg/RuoYi-Mall' - ); - this.show = res; - if (res) { - const { phone, status, today } = this.$route.query; - if (phone) { - this.queryParams.userPhone = phone; - } - if (status) { - this.queryParams.status = status; - } - if (today) { - this.setToday(); - } - this.getList(); + mounted() { + this.show = true; + const { phone, status, today } = this.$route.query; + if (phone) { + this.queryParams.userPhone = phone; } + if (status) { + this.queryParams.status = status; + } + if (today) { + this.setToday(); + } + this.getList(); }, methods: { /** 日期组件设置为今天 */ diff --git a/vite.config.ts b/vite.config.ts index 1649875..dd40ee6 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default defineConfig(({ mode, command }) => { proxy: { [env.VITE_APP_BASE_API]: { // target: 'http://192.168.1.250:8080', - target: 'http://111.62.22.190:8080', + target: 'http://192.168.1.250:8080', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), ''),