Selaa lähdekoodia

Merge branch 'dev' of http://124.70.149.18:10880/lianghj/queenshow into dev

qinyan 1 vuosi sitten
vanhempi
commit
c47c92aced

+ 1 - 1
src/dict/apis.ts

@@ -1,5 +1,5 @@
 const baseURL = "https://www.infish.cn";
-// const localURL = "http://192.168.110.131:8890";
+// const localURL = "http://192.168.110.180:8890";
 
 const baseVersion = "/cloud/v1";
 const treeVersion = "/tree/v1";

+ 5 - 5
src/modules/resource/components/ResourceManager/Toolbar.tsx

@@ -18,11 +18,11 @@ export default defineComponent({
     const { store } = resource;
 
     const showModal = (type: string) => {
-      // resource.showModal(<MaterialTemplateModal type={type} />, {
-      //   title: `${type === "image" ? "图片" : "视频"}模板中心`,
-      //   width: "1000px",
-      // });
-       queenApi.messageSuccess("努力开发中,尽请期待!")
+      resource.showModal(<MaterialTemplateModal type={type} />, {
+        title: `${type === "image" ? "图片" : "视频"}模板中心`,
+        width: "1000px",
+      });
+      //  queenApi.messageSuccess("努力开发中,尽请期待!")
     };
 
     return () => {

+ 2 - 2
src/pages/website/Material2/controller.tsx

@@ -73,8 +73,8 @@ export default function createController(
       ctrl.getCurrControl().loadPage(1);
       return;
     }
-    queenApi.messageSuccess("功能开发中, 敬请期待!");
-    //showModal(name);
+    // queenApi.messageSuccess("功能开发中, 敬请期待!");
+    showModal(name);
   };
   ctrl.onItemClick = async function (name, record) {
     if (name == "delete") {