国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

webman-admin打包之后,登陸頁驗證碼不顯示

lychuan

問題描述

webman-admin打包之后,登陸頁驗證碼不顯示,vite.config.ts這個需要怎么配置呢?

env production配置信息

# Whether to open mock
VITE_USE_MOCK = false

# public path
VITE_PUBLIC_PATH = /

# Delete console
VITE_DROP_CONSOLE = true

# Whether to enable gzip or brotli compression
# Optional: gzip | brotli | none
# If you need multiple forms, you can use `,` to separate
VITE_BUILD_COMPRESS = 'gzip'

# Whether to delete origin files when using compress, default false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false

# Basic interface address SPA
VITE_GLOB_API_URL=https://url

# File upload address, optional
# It can be forwarded by nginx or write the actual address directly
VITE_GLOB_UPLOAD_URL=https://url/app/admin/upload/upload

# Interface prefix
VITE_GLOB_API_URL_PREFIX=

# Whether to enable image compression
VITE_USE_IMAGEMIN= false

# use pwa
VITE_USE_PWA = false

# Is it compatible with older browsers
VITE_LEGACY = false

vite.config.ts配置信息

server: {
      https: true,
      //https: false,
      // Listening on all local IPs
      host:true,
      port: VITE_PORT,
      // Load proxy configuration from .env
      proxy: createProxy(VITE_PROXY),
    },
1831 1 0
1個回答

yongdao35

不顯示看報錯啊,看下請求地址、瀏覽器報錯信息、服務端報錯日志。基本的定位方法和能力要有啊

  • 暫無評論
年代過于久遠,無法發(fā)表回答
??