Giter Club home page Giter Club logo

Comments (7)

sparrow-js avatar sparrow-js commented on August 26, 2024

Application error: a client-side exception has occurred (see the browser console for more information).

可能是什么原因?配置的是三方接口地址和APIKEY

应该是报错了,打开调试工具console里的输出错误帮截图我修复下

from an-codeai.

luy98 avatar luy98 commented on August 26, 2024

image
感觉是跟配置的接口地址有关系?
image

from an-codeai.

sparrow-js avatar sparrow-js commented on August 26, 2024

报错兼容改好了,看着是你这个代理请求不到数据造成的,项目直接用的自定义的proxy url和key请求的,没有做其他操作

from an-codeai.

luy98 avatar luy98 commented on August 26, 2024

这个版本可以了,还是用的这个URL和KEY

from an-codeai.

luy98 avatar luy98 commented on August 26, 2024

vue系列的两个,看不到效果,是空白的,比如这个:

<title>Vue/Tailwind App</title> <script src="https://registry.npmmirror.com/vue/3.3.11/files/dist/vue.global.js"></script> <script src="https://cdn.tailwindcss.com"></script> <style> body { font-family: 'Inter', sans-serif; } </style>
<script type="module"> const { createApp } = Vue;
createApp({
  template: `
    <div class="bg-white shadow rounded-lg p-6 w-full max-w-sm mx-auto mt-12">
      <div class="flex justify-between items-center border-b pb-4">
        <div class="text-lg font-semibold">全部</div>
        <div class="text-sm">44</div>
        <button class="text-gray-400 hover:text-gray-600">
          <i class="fas fa-ellipsis-h"></i>
        </button>
      </div>
      <div class="flex items-center justify-between py-4 border-b">
        <button class="text-blue-600 text-lg font-semibold flex items-center">
          <i class="fas fa-plus mr-2"></i>新建分组
        </button>
        <button class="text-gray-500 px-4 py-2 rounded-lg border bg-gray-200 
                   hover:bg-gray-300 text-sm font-semibold">
          Shift + N
        </button>
      </div>
      <div class="flex items-center justify-between py-4">
        <button class="text-gray-500 text-lg font-semibold flex items-center">
          <i class="far fa-folder mr-2"></i>未分组
        </button>
        <div class="text-sm">44</div>
      </div>
    </div>
  `
}).mount('#app');
</script> 但是把其中的template代码单独拿出来解析,是可以看到效果的

image

image

from an-codeai.

luy98 avatar luy98 commented on August 26, 2024

看到了,是vue的cdn地址有问题,改为: <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>就可以了,其他的也可以。另外element的也是cdn有问题

from an-codeai.

sparrow-js avatar sparrow-js commented on August 26, 2024

看到了,是vue的cdn地址有问题,改为: <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>就可以了,其他的也可以。另外element的也是cdn有问题

前一阵改成国内的cdn了,unpkg.com有时候请求不到也是麻烦,我想想怎么改下

from an-codeai.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.