发布1.6.15
This commit is contained in:
Vendored
+1
-1
@@ -5817,7 +5817,7 @@ document.addEventListener("click", function (e) {
|
|||||||
bind: function bind(el, binding, vnode) {
|
bind: function bind(el, binding, vnode) {
|
||||||
el.addEventListener(binding.modifiers.click ? "click" : "contextmenu", function (e) {
|
el.addEventListener(binding.modifiers.click ? "click" : "contextmenu", function (e) {
|
||||||
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
||||||
if (binding.modifiers.click == "click") e.stopPropagation();
|
if (binding.modifiers.click) e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
popover.methods.closeAll();
|
popover.methods.closeAll();
|
||||||
var component;
|
var component;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -5826,7 +5826,7 @@ document.addEventListener("click", function (e) {
|
|||||||
bind: function bind(el, binding, vnode) {
|
bind: function bind(el, binding, vnode) {
|
||||||
el.addEventListener(binding.modifiers.click ? "click" : "contextmenu", function (e) {
|
el.addEventListener(binding.modifiers.click ? "click" : "contextmenu", function (e) {
|
||||||
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
||||||
if (binding.modifiers.click == "click") e.stopPropagation();
|
if (binding.modifiers.click) e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
popover.methods.closeAll();
|
popover.methods.closeAll();
|
||||||
var component;
|
var component;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>Lemon IMUI</title><link href=css/index.6fdb6837.css rel=preload as=style><link href=js/chunk-vendors.e4810482.js rel=preload as=script><link href=js/index.9052d244.js rel=preload as=script><link href=css/index.6fdb6837.css rel=stylesheet></head><body><noscript><strong>We're sorry but flat-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.e4810482.js></script><script src=js/index.9052d244.js></script></body></html>
|
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=favicon.ico><title>Lemon IMUI</title><link href=css/index.6fdb6837.css rel=preload as=style><link href=js/chunk-vendors.e4810482.js rel=preload as=script><link href=js/index.94c3664b.js rel=preload as=script><link href=css/index.6fdb6837.css rel=stylesheet></head><body><noscript><strong>We're sorry but flat-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.e4810482.js></script><script src=js/index.94c3664b.js></script></body></html>
|
||||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
@@ -64,6 +64,9 @@ export default {
|
|||||||
v-lemon-contextmenu_click={[
|
v-lemon-contextmenu_click={[
|
||||||
{
|
{
|
||||||
text: "操作一",
|
text: "操作一",
|
||||||
|
click(e, instance, hide) {
|
||||||
|
hide();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "操作二",
|
text: "操作二",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "lemon-imui",
|
"name": "lemon-imui",
|
||||||
"version": "1.6.14",
|
"version": "1.6.15",
|
||||||
"main": "dist/index.umd.min.js",
|
"main": "dist/index.umd.min.js",
|
||||||
"description": "基于 VUE2.0 的 IM 聊天组件",
|
"description": "基于 VUE2.0 的 IM 聊天组件",
|
||||||
"homepage": "http://june000.gitee.io/lemon-im/",
|
"homepage": "http://june000.gitee.io/lemon-im/",
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default {
|
|||||||
binding.modifiers.click ? "click" : "contextmenu",
|
binding.modifiers.click ? "click" : "contextmenu",
|
||||||
e => {
|
e => {
|
||||||
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
||||||
if (binding.modifiers.click == "click") e.stopPropagation();
|
if (binding.modifiers.click) e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
LemonPopover.methods.closeAll();
|
LemonPopover.methods.closeAll();
|
||||||
let component;
|
let component;
|
||||||
|
|||||||
Reference in New Issue
Block a user