|
@@ -6,7 +6,7 @@ import { ClientEvent } from '../clientEvent';
|
|
import { config } from '../config';
|
|
import { config } from '../config';
|
|
import { tools } from '../tools';
|
|
import { tools } from '../tools';
|
|
import { Attributes } from './Attributes';
|
|
import { Attributes } from './Attributes';
|
|
-import { copy_scene } from './copy_scene';
|
|
|
|
|
|
+import { show_copy_scene } from './show_copy_scene';
|
|
const { ccclass, property } = _decorator;
|
|
const { ccclass, property } = _decorator;
|
|
|
|
|
|
@ccclass('scene_select_list')
|
|
@ccclass('scene_select_list')
|
|
@@ -83,7 +83,7 @@ export class scene_select_list extends Component {
|
|
let list = this.m_main.control_view.get_bag_data().content;
|
|
let list = this.m_main.control_view.get_bag_data().content;
|
|
let c_data = list[c_index]
|
|
let c_data = list[c_index]
|
|
// console.log('c_data=',c_data)
|
|
// console.log('c_data=',c_data)
|
|
- tools.show_copy_scene(c_data.scene_diy_name, (scene_name:string, copy_scene_view:copy_scene)=> {
|
|
|
|
|
|
+ tools.show_copy_scene(c_data.scene_diy_name, (scene_name:string, copy_scene_view:show_copy_scene)=> {
|
|
let copy_data = JSON.parse(JSON.stringify(c_data)) //深拷贝
|
|
let copy_data = JSON.parse(JSON.stringify(c_data)) //深拷贝
|
|
copy_data.scene_diy_name = scene_name
|
|
copy_data.scene_diy_name = scene_name
|
|
for(let i=0; i<copy_data.page_list.length; i++) {
|
|
for(let i=0; i<copy_data.page_list.length; i++) {
|