测试vant移动端框架
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
<template>
|
||||
<div style="padding: 10px;" class="page-share-home-vue">
|
||||
<nut-button @click="popupShowChange">测试</nut-button>
|
||||
<van-button type="primary" @click="popupShowChange">测试</van-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import pageApi from '../../../../common/api/page';
|
||||
import Button from '@nutui/nutui/dist/packages/button/button.js';
|
||||
import '@nutui/nutui/dist/packages/button/button.css';
|
||||
import Popup from '@nutui/nutui/dist/packages/popup/popup.js';
|
||||
import '@nutui/nutui/dist/packages/popup/popup.css';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -24,10 +20,6 @@
|
||||
spacePageNews: [],
|
||||
};
|
||||
},
|
||||
components: {
|
||||
'nut-button': Button,
|
||||
'nut-popup': Popup,
|
||||
},
|
||||
beforeRouteUpdate(to, from, next) {
|
||||
this.initQueryParam(to);
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user