组件按需加载
This commit is contained in:
@@ -673,23 +673,6 @@ import { setSeoTitle } from '@/utils/util.js'
|
||||
|
||||
export default {
|
||||
name: 'ZufangEdit',
|
||||
metaInfo() {
|
||||
return {
|
||||
title: 'My Page Title',
|
||||
meta: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'This is a description of my page'
|
||||
}
|
||||
],
|
||||
link: [
|
||||
{
|
||||
rel: 'canonical',
|
||||
href: 'https://example.com/my-page'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
value: '',
|
||||
@@ -773,36 +756,6 @@ export default {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 判断类型的类名
|
||||
judgeClassNameType() {
|
||||
return function (item) {
|
||||
let isPitch = ''
|
||||
let typeData = this.typeData
|
||||
let type = this.info.type
|
||||
for (const key in typeData) {
|
||||
typeData[key]['data'].forEach(element => {
|
||||
if (element['key'] == type) isPitch = 'pitch'
|
||||
})
|
||||
}
|
||||
return isPitch
|
||||
}
|
||||
},
|
||||
|
||||
// // 判断 求房源的 同住人性别要求应不应该显示
|
||||
// judgeGenderCohabitantsShow() {
|
||||
// /
|
||||
// / return function (field) {
|
||||
// console.log("info", this, this.info);
|
||||
// // let type = this.info['type']
|
||||
// // let intermediary = this.intermediary
|
||||
// // if (intermediary != 6 || field != 'gender') return true
|
||||
// // if (type >>> 0 == 1 && field == 'gender') return true
|
||||
// return false
|
||||
// }
|
||||
// },
|
||||
|
||||
},
|
||||
mounted() {
|
||||
// 访问URL中的查询参数
|
||||
const queryString = window.location.search;
|
||||
@@ -824,9 +777,6 @@ export default {
|
||||
userBox,
|
||||
},
|
||||
methods: {
|
||||
updateMap(evtModel) {
|
||||
console.log("evtModel", evtModel);
|
||||
},
|
||||
|
||||
require(url) {
|
||||
return require(url)
|
||||
@@ -970,7 +920,7 @@ export default {
|
||||
setSeoTitle(title)
|
||||
|
||||
console.log();
|
||||
}).finally(() => {
|
||||
}).catch(err => { }).finally(err => {
|
||||
this.loading.close()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user