king
2025-04-27 af38217f4cb92e3422d055c3621c44be72c6f8af
2025-04-27
2个文件已修改
16 ■■■■ 已修改文件
src/menu/components/table/edit-table/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/normal-table/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/edit-table/index.jsx
@@ -218,7 +218,13 @@
  addSearch = () => {
    const { card } = this.state
    MKEmitter.emit('plusSearch', card.uuid, {uuid: Utils.getuuid(), focus: true, label: 'label', type: 'text', match: '='}, 'simple')
    let ratio = 6
    if (card.search.length) {
      ratio = card.search[card.search.length - 1].ratio
    }
    MKEmitter.emit('plusSearch', card.uuid, {uuid: Utils.getuuid(), focus: true, label: 'label', type: 'text', match: '=', ratio}, 'simple')
  }
  addButton = () => {
src/menu/components/table/normal-table/index.jsx
@@ -231,7 +231,13 @@
  addSearch = () => {
    const { card } = this.state
    MKEmitter.emit('plusSearch', card.uuid, {uuid: Utils.getuuid(), focus: true, label: 'label', type: 'text', match: '='}, 'simple')
    let ratio = 6
    if (card.search.length) {
      ratio = card.search[card.search.length - 1].ratio
    }
    MKEmitter.emit('plusSearch', card.uuid, {uuid: Utils.getuuid(), focus: true, label: 'label', type: 'text', match: '=', ratio}, 'simple')
  }
  addButton = () => {