...
|
...
|
@@ -15,8 +15,6 @@ import selectComp from './select-comp'; |
|
|
import sortTabEditor from './sortTab-editor'
|
|
|
import ResourceService from '@/service/resource-service';
|
|
|
|
|
|
let idStart = 1;
|
|
|
|
|
|
export default {
|
|
|
props: ['data', 'resContentDataId'],
|
|
|
data() {
|
...
|
...
|
@@ -39,7 +37,7 @@ export default { |
|
|
},
|
|
|
addId(m) {
|
|
|
m.forEach(i => {
|
|
|
i.id = Date.now() + idStart++;
|
|
|
i.id = this.$bus.genId();
|
|
|
})
|
|
|
|
|
|
return m;
|
...
|
...
|
|