mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2025-12-26 05:48:33 +08:00
26 lines
398 B
JavaScript
26 lines
398 B
JavaScript
//iframe自适应
|
|
$(window).on('resize', function() {
|
|
const $content = $('.content');
|
|
$content.height($(this).height() - 154);
|
|
$content.find('iframe').each(function() {
|
|
$(this).height($content.height());
|
|
});
|
|
}).resize();
|
|
|
|
const vm = new Vue({
|
|
el: '#rrapp',
|
|
data: {
|
|
main: "main",
|
|
},
|
|
methods: {
|
|
donate: function () {
|
|
}
|
|
},
|
|
created: function () {
|
|
|
|
},
|
|
updated: function () {
|
|
}
|
|
});
|
|
|