king
2021-11-17 c51f5e007a3e03c9d6731ab7f28f0080de009990
src/tabviews/custom/components/card/data-card/index.jsx
@@ -226,12 +226,14 @@
   * @param {*} position   // 刷新位置
   * @param {*} btn        // 执行的按钮
   */
  refreshByButtonResult = (menuId, position, btn) => {
  refreshByButtonResult = (menuId, position, btn, id, lines) => {
    const { config, BID } = this.state
    if (config.uuid !== menuId) return
    if (!btn || btn.resetPageIndex !== 'false') {
    if (position === 'line' && lines && lines.length === 1) {
      this.loadLinedata(lines[0].$$uuid)
    } else if (!btn || btn.resetPageIndex !== 'false') {
      this.setState({
        pageIndex: 1
      }, () => {