Code Monkey home page Code Monkey logo

protable,搜索条件中,defaultValue 有值的时候, 无法清除默认值, 就是说search配置项中的defaultValue 有值, clearable设置为true, 虽然可以清除页面上显示的值, 但是搜索的时候, 默认值还会带上, about geeker-admin HOT 7 OPEN

mzcc666GtHb avatar mzcc666GtHb commented on September 23, 2024
protable,搜索条件中,defaultValue 有值的时候, 无法清除默认值, 就是说search配置项中的defaultValue 有值, clearable设置为true, 虽然可以清除页面上显示的值, 但是搜索的时候, 默认值还会带上,

from geeker-admin.

Comments (7)

mzcc666GtHb avatar mzcc666GtHb commented on September 23, 2024 4

const getTableList = async (params: any) => {
return fetchApi({
...params,
...proTable.value.searchParam
});
};
暂时可以这样解决, 用 proTable.value.searchParam这个覆盖params,
这样就可以了

from geeker-admin.

mzcc666GtHb avatar mzcc666GtHb commented on September 23, 2024


WechatIMG894

from geeker-admin.

mzcc666GtHb avatar mzcc666GtHb commented on September 23, 2024

WechatIMG895

from geeker-admin.

HalseySpicy avatar HalseySpicy commented on September 23, 2024

下个版本加个可清除配置

from geeker-admin.

mzcc666GtHb avatar mzcc666GtHb commented on September 23, 2024

感谢答复, 期待, 目前有什么解决方案吗

from geeker-admin.

luckyjoke avatar luckyjoke commented on September 23, 2024

使用el-cascader也出现了同样问题

from geeker-admin.

Lin-Qin avatar Lin-Qin commented on September 23, 2024

感谢答复, 期待, 目前有什么解决方案吗

请问目前有解决方案了吗,我也碰到了同样的问题

from geeker-admin.

Related Issues (20)

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.