Coder Social home page Coder Social logo

gemini-next's Introduction

Hey, coder!

My name is Henry and I'm a Devops. I'm from China 🇨🇳, living in 杭州.


Languages & Frameworks & Tools & Abilities

Go   Python   JavaScript   MySQL   Kubernetes   Git


Content Me 📱


gemini-next's People

Contributors

chenlingmin avatar cookiey avatar zze326 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gemini-next's Issues

前后端分离的情况下,wss url 拼接不在预料中

我通过修改src/config/request.ts文件使用不同的后端api地址:

const request: AxiosInstance = axios.create({
      timeout: 200000,
      headers: {
            'Content-Type': 'application/json'
      },
      baseURL: `https://api-yearning.XXXX.com/`,
})

首页地址是yearning.XXXX.com, 后端地址是api-yearning.XXXX.com

src/socket/index.ts

      constructor(prefix: string, token: string) {
            let baseURL = ""
            import.meta.env.MODE === "dev" ? baseURL = "127.0.0.1:8000" : baseURL = document.location.host

document.location.host的值和baseURL的值不相等, 导致wss的地址拼接不是预料中的情况。

queryTableArch 接口返回报错后,按钮等待问题

const fetchTableArch = async () => {
loadingTblBtn.value = true;
const {data} = await queryTableArch(orderItems);
//lgx fix
if (data.payload == null) {
loadingTblBtn.value = false;
return
}
archData.value = data.payload.rows;
indexData.value = data.payload.idx;
activeKey.value = 2;
message.success(t('order.apply.table.info') + t('common.success'));
loadingTblBtn.value = false;
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.