Bläddra i källkod

后端配置HTTPS证书

Huanyi 15 timmar sedan
förälder
incheckning
d5e15b4554
3 ändrade filer med 3 tillägg och 4 borttagningar
  1. 1 1
      .env.production
  2. 0 1
      src/types/components.d.ts
  3. 2 2
      src/views/order/purchase/index.vue

+ 1 - 1
.env.production

@@ -15,7 +15,7 @@ VITE_APP_MONITOR_ADMIN = '/admin/applications'
 VITE_APP_SNAILJOB_ADMIN = '/snail-job'
 
 # 生产环境
-VITE_APP_BASE_API = 'http://www.hoomeng.pet/api'
+VITE_APP_BASE_API = 'https://www.hoomeng.pet/api'
 
 # 是否在打包时开启压缩,支持 gzip 和 brotli
 VITE_BUILD_COMPRESS = gzip

+ 0 - 1
src/types/components.d.ts

@@ -10,7 +10,6 @@ declare module 'vue' {
   export interface GlobalComponents {
     AddCustomerDialog: typeof import('./../components/AddCustomerDialog/index.vue')['default']
     AddPetDialog: typeof import('./../components/AddPetDialog/index.vue')['default']
-    AddUserDialog: typeof import('./../components/AddUserDialog/index.vue')['default']
     ApprovalButton: typeof import('./../components/Process/approvalButton.vue')['default']
     ApprovalRecord: typeof import('./../components/Process/approvalRecord.vue')['default']
     Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default']

+ 2 - 2
src/views/order/purchase/index.vue

@@ -1,9 +1,9 @@
 <template>
   <div class="page-container">
     <div class="page-header">
-      <el-button type="warning" size="default" icon="Upload" @click="openImportDialog" style="margin-left: auto;">
+      <!-- <el-button type="warning" size="default" icon="Upload" @click="openImportDialog" style="margin-left: auto;">
         导入微信订单
-      </el-button>
+      </el-button> -->
     </div>
     <div class="create-layout">