diff --git a/resources/assets/js/App.vue b/resources/assets/js/App.vue index d6d315d7f..cd8d48d68 100755 --- a/resources/assets/js/App.vue +++ b/resources/assets/js/App.vue @@ -7,16 +7,18 @@ + diff --git a/resources/assets/js/components/PreviewImage/view.vue b/resources/assets/js/components/PreviewImage/view.vue new file mode 100644 index 000000000..1243bbffc --- /dev/null +++ b/resources/assets/js/components/PreviewImage/view.vue @@ -0,0 +1,363 @@ + + + + + diff --git a/resources/assets/js/pages/manage.vue b/resources/assets/js/pages/manage.vue index c440e1f25..877d58c89 100644 --- a/resources/assets/js/pages/manage.vue +++ b/resources/assets/js/pages/manage.vue @@ -342,13 +342,6 @@ - - - @@ -491,9 +484,6 @@ export default { 'clientNewVersion', 'cacheTaskBrowse', - - 'previewImageList', - 'previewImageIndex', ]), ...mapGetters(['taskData', 'dashboardTask']), @@ -980,11 +970,6 @@ export default { }); }, - closePreviewImage() { - this.$store.state.previewImageIndex = 0; - this.$store.state.previewImageList = []; - }, - notificationInit() { this.notificationClass = new notificationKoro(this.$L("打开通知成功")); if (this.notificationClass.support) { diff --git a/resources/assets/sass/element.scss b/resources/assets/sass/element.scss index 3e002c916..0df34d3c5 100644 --- a/resources/assets/sass/element.scss +++ b/resources/assets/sass/element.scss @@ -14,7 +14,6 @@ $--dropdown-menuItem-hover-color: #606266; @import "~element-ui/packages/theme-chalk/src/dropdown-menu"; @import "~element-ui/packages/theme-chalk/src/dropdown-item"; @import "~element-ui/packages/theme-chalk/src/notification"; -@import "~element-ui/packages/theme-chalk/src/image"; .el-dropdown-menu__item {