bkui-vue 2.0.1-beta.116 → 2.0.1-beta.118
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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +2 -2
- package/lib/directives/index.js +1 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -893,10 +893,9 @@ var createInstance = function createInstance(el, binding) {
|
|
893
893
|
handleContentLeave();
|
894
894
|
createTimer && clearTimeout(createTimer);
|
895
895
|
createTimer = setTimeout(function () {
|
896
|
-
var _targetOptions$conten;
|
897
896
|
var targetOptions = resolveOptions(el, binding);
|
898
897
|
targetOptions.isShow = true;
|
899
|
-
targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() :
|
898
|
+
targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.innerText;
|
900
899
|
targetOptions.allowHtml = true;
|
901
900
|
Object.assign(targetOptions, {
|
902
901
|
onContentMouseenter: handleContentEnter,
|
package/lib/index.js
CHANGED