Commit dbd09844 authored by 李纪文's avatar 李纪文

feat: 修改指标选择器模态关闭搜索还在问题

parent c5741da5
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 634665781 634665781@qq.com * @Author: 634665781 634665781@qq.com
* @Date: 2023-04-11 13:40:18 * @Date: 2023-04-11 13:40:18
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @LastEditTime: 2024-08-02 19:35:45 * @LastEditTime: 2024-08-05 09:16:11
* @FilePath: \wisdom-components\packages\base-components\VmsVideo\src\demos\dmeo1.tsx * @FilePath: \wisdom-components\packages\base-components\VmsVideo\src\demos\dmeo1.tsx
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -51,20 +51,20 @@ const Demo1 = (props) => { ...@@ -51,20 +51,20 @@ const Demo1 = (props) => {
} }
}; };
// VideoParam = { VideoParam = {
// id: 'E75C657B-23D8-4F47-82F7-011825307468', id: 'E75C657B-23D8-4F47-82F7-011825307468',
// name: '球机-设备间正面', name: '球机-设备间正面',
// channel: 5, channel: 5,
// protocol: '萤石EZOPEN', protocol: '萤石EZOPEN',
// username: '014d7fd22a3f480d9b3492b3cc395717', username: '014d7fd22a3f480d9b3492b3cc395717',
// password: 'c077bd1c448e68cdee2be1d307731eae', password: 'c077bd1c448e68cdee2be1d307731eae',
// pandavmsHost: 'ws://192.168.8.30:7000/', pandavmsHost: 'ws://192.168.8.30:7000/',
// address: 'AH2684639', address: 'AH2684639',
// params: { params: {
// name: 1, name: 1,
// title: 2, title: 2,
// } }
// }; };
let VideoParam1 = { let VideoParam1 = {
id: '38FB4BA7-C61F-466C-9B57-5B401441DABC', id: '38FB4BA7-C61F-466C-9B57-5B401441DABC',
name: 'K21319413_通道_1', name: 'K21319413_通道_1',
......
...@@ -199,6 +199,7 @@ const QuotaSelect = ({ ...@@ -199,6 +199,7 @@ const QuotaSelect = ({
setGroupQuotaList([]); setGroupQuotaList([]);
setVisible(false); setVisible(false);
} }
setSearch('');
}; };
const onOk = () => { const onOk = () => {
...@@ -207,6 +208,7 @@ const QuotaSelect = ({ ...@@ -207,6 +208,7 @@ const QuotaSelect = ({
setQuotaList([]); setQuotaList([]);
setGroupQuotaList([]); setGroupQuotaList([]);
setVisible(false); setVisible(false);
setSearch('');
}; };
const handleOk = () => { const handleOk = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment