fixed modal
This commit is contained in:
parent
6700f596c9
commit
6f3403801a
4 changed files with 7 additions and 5 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
umdNamedDefine: true
|
||||
},
|
||||
externals: {
|
||||
'vue': 'Vue'
|
||||
'vue': 'vue'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.js', '.vue']
|
||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
umdNamedDefine: true
|
||||
},
|
||||
externals: {
|
||||
'vue': 'Vue'
|
||||
'vue': 'vue'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.js', '.vue']
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</Timeline>
|
||||
<br><br>
|
||||
<Affix :offset-top="50" @on-change="affixChange">
|
||||
<Button>固定的图钉</Button>
|
||||
<i-button>固定的图钉</i-button>
|
||||
</Affix>
|
||||
<Back-top @on-click="backtop">
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
</Modal>
|
||||
</template>
|
||||
<script>
|
||||
import { Tag, Modal, iButton } from 'iview';
|
||||
import { Tag, Modal, iButton } from '../../dist/iview.js';
|
||||
export default {
|
||||
components: { Tag, Modal, iButton },
|
||||
data () {
|
||||
|
@ -53,7 +53,9 @@
|
|||
},
|
||||
methods: {
|
||||
ok () {
|
||||
|
||||
setTimeout(() => {
|
||||
this.modal1 = false;
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue