九九乘法表
直接上代码 ↓
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>久久乘法表</title>
<script src="./node_modules/_vue@2.6.11@vue/dist/vue.js"></script>
<!-- 之前已终端安装了 vue,所以这里直接引用了 npm i vue -->
</head>
<body>
<div id="box">
<!-- 遍历 -->
<p v-for="item1 in arr">
<span v-for="item2 in arr" v-show="item1>=item2">
<!-- 遍历 -->
{
{
item2}