<template>
  <div class="about">
    <h1 class="title">This is an about page</h1>
  </div>
</template>
<script>
import '../assets/jquery-1.8.3.min.js'
export default{
    data(){
        return{

        }
    },
    created(){
        
    },
    mounted(){
                console.log($('h1.title').text()) //This is an about page
$('h1.title').css('background','#eee') } 
}
</script>

 

转载于:https://www.cnblogs.com/liangban/p/11528450.html

Logo

前往低代码交流专区

更多推荐