commit
This commit is contained in:
@@ -69,7 +69,8 @@ import { useStore } from "vuex";
|
||||
import GO from '@/tool/GO';
|
||||
|
||||
export default defineComponent({
|
||||
setup() {
|
||||
props: ["msg"],
|
||||
setup(prop) {
|
||||
let myMaterialModalShow = ref(false)
|
||||
let imgList = ref([])
|
||||
let store = useStore()
|
||||
@@ -122,9 +123,17 @@ export default defineComponent({
|
||||
searcMaterialhName,
|
||||
designType,
|
||||
disignTypeList,
|
||||
boardList
|
||||
boardList,
|
||||
}
|
||||
},
|
||||
data (prop) {
|
||||
return {
|
||||
type_ : {
|
||||
type1:'material',
|
||||
type2:prop.msg
|
||||
}
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
|
||||
init(code:any){
|
||||
@@ -145,7 +154,7 @@ export default defineComponent({
|
||||
// this.selectImgList.splice(index,1)
|
||||
// this.selectImgListIds.splice(index,1)
|
||||
// }
|
||||
imgData.type_ = 'material'
|
||||
imgData.type_ = this.type_
|
||||
this.store.commit("addGenerateMaterialFils", imgData);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user