|
@@ -1,6 +1,5 @@
|
|
|
import { cx } from "@linaria/core";
|
|
|
import { Tag } from "ant-design-vue";
|
|
|
-import dayjs from "dayjs";
|
|
|
import { upperFirst } from "lodash";
|
|
|
import { Container, Draggable } from "vue-dndrop";
|
|
|
import { number, string } from "vue-types";
|
|
@@ -11,9 +10,9 @@ import { useResource } from "@/modules/resource";
|
|
|
import { useAuth } from "@queenjs-modules/auth";
|
|
|
import { Image, Loadmore } from "@queenjs/ui";
|
|
|
import { defineUI, queenApi } from "queenjs";
|
|
|
-import Menu from "./Menu";
|
|
|
-import ListFilter from "./ListFilter";
|
|
|
import { onMounted, watch } from "vue";
|
|
|
+import ListFilter from "./ListFilter";
|
|
|
+import Menu from "./Menu";
|
|
|
|
|
|
export default defineUI({
|
|
|
props: {
|
|
@@ -86,7 +85,7 @@ export default defineUI({
|
|
|
}}
|
|
|
>
|
|
|
{dataSource.map((item: compType) => {
|
|
|
- const items = ["删除", "编辑"];
|
|
|
+ const items = ["编辑", "删除"];
|
|
|
|
|
|
if (isSys) {
|
|
|
item.published
|
|
@@ -129,7 +128,7 @@ export default defineUI({
|
|
|
<Menu
|
|
|
items={items}
|
|
|
onMenu={async (name) => {
|
|
|
- console.log("name", name);
|
|
|
+ // console.log("name", name);
|
|
|
if (name == "删除") {
|
|
|
const title = {
|
|
|
comp: "组合",
|