chore(组件): 组件尽量使用异步导入模式
This commit is contained in:
@@ -153,10 +153,13 @@
|
||||
|
||||
<script>
|
||||
import validate from 'common/js/validate.js';
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import fenxiaoWords from 'common/js/fenxiao-words.js';
|
||||
import htmlParser from '@/common/js/html-parser';
|
||||
import htmlParser from '@/common/js/html-parser.js';
|
||||
export default {
|
||||
components: {
|
||||
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
|
||||
loadingCover: () => import('@/components/loading-cover/loading-cover.vue'),
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
isChecked: false,
|
||||
@@ -187,9 +190,6 @@
|
||||
isOpen: false
|
||||
};
|
||||
},
|
||||
components: {
|
||||
uniPopup
|
||||
},
|
||||
mixins: [fenxiaoWords],
|
||||
onLoad(option) {
|
||||
setTimeout( () => {
|
||||
|
||||
Reference in New Issue
Block a user