我有一个可以同时打开多个jQueryUI对话框的应用程序。
我的问题是我无法弄清楚如何在对话框的打开处理程序中仅找到当前对话框元素。
我尝试了$(this),ui,ui.dialog和其他一些东西,但是没有结果。
/usr/include/c++/7/bits/stl_construct.h:75:7: error: use of deleted function ‘vertex::vertex(vertex&&)’
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from getVGraph.h:12:0,
from vertexcentric.cpp:15:
vertex.h:13:7: note: ‘vertex::vertex(vertex&&)’ is implicitly deleted because the default definition would be ill-formed:
class vertex{
^~~~~~
vertex.h:13:7: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:100:0,
from vertexcentric.cpp:9:
/usr/include/c++/7/atomic:668:7: note: declared here
atomic(const atomic&) = delete;
答案 0 :(得分:0)
对我来说,解决方案是引用事件目标父元素。
例如 event.target.parentElement
CREATE TABLE `ContentRepository`.`无标题` (
`weng_id` long NOT NULL,
`content_type` tinyint(0) NOT NULL DEFAULT 0,
`store_time` datetime(0) NOT NULL ON UPDATE CURRENT_TIMESTAMP(0),
`create_time` datetime(0) NOT NULL,
`modify_time` datetime(0) NOT NULL,
`weng_url` varchar(1000) NOT NULL,
`algorithm_tags` varchar(1000) NULL,
`words` varchar(1000) NULL,
`operate_tags` varchar(1000) NULL,
`mdd_id` bigint(0) NULL,
`related_mdd_ids` varchar(1000) NULL,
`related_pois` varchar(1000) NULL,
`uid` bigint(0) NOT NULL,
`user_level` tinyint(0) NOT NULL,
`user_contribution_score` double NULL,
`status` tinyint(0) NOT NULL,
`check_status` tinyint(0) NULL,
`checked_time` datetime(0) NULL,
`static_score` double NULL,
`static_level` int(0) NULL,
`dynamic_level` int(0) NULL,
`dynamic_score` double NULL,
`show_channel` int(0) NULL,
`show_num` bigint(0) NULL,
`click_num` bigint(0) NULL,
`favorite_num` bigint(0) NOT NULL,
`comment_num` bigint(0) NOT NULL,
`share_num` bigint(0) NOT NULL,
`collect_num` bigint(0) NOT NULL,
`weng_type` tinyint(0) NOT NULL,
`pricture_urls` varchar(1000) NOT NULL,
`video_url` varchar(1000) NULL,
`content` varchar(8000) NULL,
`weng_level` tinyint(0) NOT NULL,
`weng_category` tinyint(0) NOT NULL,
`picture_num` int(0) NOT NULL,
PRIMARY KEY (`weng_id`),
INDEX `idx_create`(`create_time`) USING BTREE,
INDEX `idx_modify`(`modify_time`) USING BTREE,
INDEX `idx_store`(`store_time`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;