bkui-vue 2.0.1-beta.117 → 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 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/directives/index.js
CHANGED
@@ -895,7 +895,7 @@ var createInstance = function createInstance(el, binding) {
|
|
895
895
|
createTimer = setTimeout(function () {
|
896
896
|
var targetOptions = resolveOptions(el, binding);
|
897
897
|
targetOptions.isShow = true;
|
898
|
-
targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.
|
898
|
+
targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : targetOptions.content || el.innerText;
|
899
899
|
targetOptions.allowHtml = true;
|
900
900
|
Object.assign(targetOptions, {
|
901
901
|
onContentMouseenter: handleContentEnter,
|
package/lib/index.js
CHANGED