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
|
umdNamedDefine: true
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
'vue': 'Vue'
|
'vue': 'vue'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['', '.js', '.vue']
|
extensions: ['', '.js', '.vue']
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = {
|
||||||
umdNamedDefine: true
|
umdNamedDefine: true
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
'vue': 'Vue'
|
'vue': 'vue'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['', '.js', '.vue']
|
extensions: ['', '.js', '.vue']
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
</Timeline>
|
</Timeline>
|
||||||
<br><br>
|
<br><br>
|
||||||
<Affix :offset-top="50" @on-change="affixChange">
|
<Affix :offset-top="50" @on-change="affixChange">
|
||||||
<Button>固定的图钉</Button>
|
<i-button>固定的图钉</i-button>
|
||||||
</Affix>
|
</Affix>
|
||||||
<Back-top @on-click="backtop">
|
<Back-top @on-click="backtop">
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Tag, Modal, iButton } from 'iview';
|
import { Tag, Modal, iButton } from '../../dist/iview.js';
|
||||||
export default {
|
export default {
|
||||||
components: { Tag, Modal, iButton },
|
components: { Tag, Modal, iButton },
|
||||||
data () {
|
data () {
|
||||||
|
@ -53,7 +53,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
ok () {
|
ok () {
|
||||||
|
setTimeout(() => {
|
||||||
|
this.modal1 = false;
|
||||||
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue