diff --git a/.env.production b/.env.production index 1db13cc..2a4f841 100644 --- a/.env.production +++ b/.env.production @@ -3,13 +3,13 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # 测试 -# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' # 生产 # VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # 预发布接口 -VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' +# VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.98:8000' # 如果接口是 http 形式, wss 需要改为 ws diff --git a/src/views/application/index.vue b/src/views/application/index.vue index edf3745..ebb48f2 100644 --- a/src/views/application/index.vue +++ b/src/views/application/index.vue @@ -22,7 +22,7 @@ - + @@ -72,9 +72,6 @@ export default { methods: { upPop() { this.dialogVisible = true - }, - handleClose() { - }, sumbitEvent() { if (this.forms.account) { diff --git a/src/views/marketing/index.vue b/src/views/marketing/index.vue index 5340401..0199326 100644 --- a/src/views/marketing/index.vue +++ b/src/views/marketing/index.vue @@ -20,7 +20,7 @@ import { appCenterGet } from "@/api/application"; export default { data() { return { - list: [] + list: [], } }, mounted() { @@ -30,7 +30,6 @@ export default { // 跳转 to(item) { localStorage.setItem('applocation', JSON.stringify(item)) - console.log(item,'调试 21') this.$router.push({ name: item.absUrl }) @@ -39,13 +38,15 @@ export default { async appCenterGet() { try { const res = await appCenterGet({ - type:"market" + type:'market' }) this.list = res } catch (error) { console.log(error); } - } + }, + + } } diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 3499939..38bbe20 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -189,11 +189,13 @@ style="margin-left: 20px !important;"> 编辑 --> - 编辑 - - 删除 - +
+ 编辑 + + 删除 + +
@@ -244,7 +246,7 @@ import { tbProductListV2, tbShopCategoryGet, tbProductDelete, tbProductIsHot, up import { hasPermission } from '@/utils/limits.js' export default { - name:'product', + name: 'product', components: { BindCons, StockHistory