@@ -15,6 +15,13 @@ export class TreeController {
const payload = {}
const ret:any = await bus.RequestWebView("selmatblack", {height: 600, width: 900, payload, url, alwaysOnTop:true,})
console.log("selmat=>", ret);
+
+ if (ret.payload) {
+ ret.payload.uvMap = "uv";
+ ret.payload.classType = "pbr";
+ ret.payload.type = "meta";
+ }
return ret.payload;
}
@@ -14,8 +14,8 @@ const Dict_Apis = {
queentreeLocal: base,
auth: `${baseURL}${baseVersion}/usercenter`,
queentree: `${baseURL}${treeVersion}/assetcenter`,
- // promotion: `${baseURL}${baseVersion}/promotion`,
- promotion: `${localURL}/promotion`,
+ promotion: `${baseURL}${baseVersion}/promotion`,
+ // promotion: `${localURL}/promotion`,
};
export { Dict_Apis };
@@ -44,7 +44,16 @@ export const materialActions = ResourceModule.action({
},
async selectMaterial(record) {
- const url = `${location.origin}/index.html#/create/${record._id}`;
+ const _params = new URLSearchParams(decodeURIComponent(location.search));
+ const host = _params.get("host")
+ if (location.host == "www.infish.cn") {
+ const url = `${location.origin}/projects/queenshow/index.html?host=${host}#/create/${record._id}`;
+ location.href = url;
+ return;
+ const url = `${location.origin}/index.html?host=${host}#/create/${record._id}`;
location.href = url;
});
@@ -5,6 +5,7 @@ import CKEditor from "@ckeditor/ckeditor5-vue";
import router from "./router";
import { initResource } from "@/modules/resource";
+document.title = "推广编辑器"
startApp(router, [initAuthDef, initRemSize, initResource], (app) => {
app.use(CKEditor);
@@ -33,7 +33,7 @@ export default defineComponent({
initQueentreeExplorer({
config: {
- showNodeToolbar: false,
+ showNodeToolbar: true,
nodeListColumns: 6,
@@ -3,4 +3,5 @@ import { initAuthDef } from "@/hooks/initAuthDef";
startApp(router, [initAuthDef, initResource]);