venus-design 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -78,7 +78,7 @@ var VenusDept = function VenusDept(props) {
|
|
|
78
78
|
}, [props.value]);
|
|
79
79
|
//选择树节点
|
|
80
80
|
var onSelect = function onSelect(selectedKey, e) {
|
|
81
|
-
if (selectedKey.length
|
|
81
|
+
if (selectedKey.length > 1) {
|
|
82
82
|
if (!props.isMultiple) {
|
|
83
83
|
message.warning("不能多选!");
|
|
84
84
|
} else {
|
package/dist/VenusTable/index.js
CHANGED
|
@@ -16,6 +16,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
16
16
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
17
17
|
import { DataView, getColumnData, storage, deleteSessionKeysWithPrefix, getMenuId, handleColumnFilterFns, handleColumnFns } from "./..";
|
|
18
18
|
import React, { useState, useEffect } from 'react';
|
|
19
|
+
import "./style.less";
|
|
19
20
|
/**
|
|
20
21
|
* 动态表格
|
|
21
22
|
* @param props
|