我的错误代码,todolist的文本框和插入按钮,8080已经白屏了

news/2024/7/10 1:59:55 标签: vue
<template>
   <div>
     <input tpye = "text"></input>
     <button v-model="charu">插入</button>
    </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>


http://www.niftyadmin.cn/n/957933.html

相关文章

Linux安装ftp服务

linux安装ftp服务 1、打开终端&#xff0c;修改root用户密码&#xff1a;sudo passwd root 然后会要求输入当前用户的密码 接着输入root的密码 最后确认输入root的密码 2、切换到root用户&#xff1a;su root 然后要求输入root的密码 3、rpm -qa |grep vsftpd 可以检测出是否安…

为什么这里的props没有被保留,是vue2和vue3版本之间差异的问题吗?本可以保留的?什么情况下这里需要用props?

<template><div><div class"input-part"><input type"text"><button>插入</button></div><ul><li><p>内容</p></li></ul></div> </template><script> e…

Jackson教程

https://www.sxt.cn/jackson/jackson.html

uniapp数组里面多个参数用picker

<view class"cu-form-group"><view class"title">国家或地区&#xff1a;</view><picker change"bindPickerChange" :value"index" :range"array" range-key"name"><view class"…

java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x92\x94‘ for column ‘*****‘ at row 1

使用Mysql服务器的utf8字符编码&#xff0c;在存入移动端emoji表情时会报异常&#xff1a; Caused by: java.sql.SQLException: Incorrect string value: \xF0\x9F\x98\x84 for column content at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:107…

融云php注册用户获token

public function getRongClound($url "http://api-cn.ronghub.com", $data ""){$app_key ;//这里写你申请到的app-key$secret 在这里插入代码片;//同理&#xff0c;写你申请到的secret//参数初始化$nonce mt_rand(); // 获取随机数。$timeStamp time…

不是版本问题,还是代码哪里写得有问题,找不出问题,看书上有没有

vue2的main.js是这样的 换了vue2了 import Vue from vue import Home from ./Home.vueVue.config.productionTip falsenew Vue({render: h > h(Home), }).$mount(#home)

redis实现流水号

Component public class CreateCodeUtils {Autowiredprivate RedisUtils redisUtils;//生成code的长度private static final int codeLength 12;//过期时间private static final int expirationTime 60 * 60 * 24;/*** type标明业务类型*/public String createCode(String ty…