v1.2.0需求开发中
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { findDataInfo } from "../../../api/documentManagement"
|
||||
export default{
|
||||
data(){
|
||||
return{
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
// this.fetchDataInfo()
|
||||
|
||||
|
||||
if (this.$route.query.id) {
|
||||
this.fetchDataInfo({id:this.$route.query.id})
|
||||
}
|
||||
|
||||
},
|
||||
methods:{
|
||||
async fetchDataInfo(params){
|
||||
const res = await findDataInfo(params)
|
||||
if (res && res.code === 200) {
|
||||
this.modifyData = res.data
|
||||
this.addParams.content = this.modifyData.content
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user