GithubHelp home page GithubHelp logo

yigger / jiezhang Goto Github PK

View Code? Open in Web Editor NEW
434.0 14.0 140.0 4.65 MB

基于 wepy 开发的一款纯记账的微信小程序

License: MIT License

JavaScript 80.89% SCSS 18.39% Less 0.73%
wepy jiezhang wechat-mini-program

jiezhang's Introduction

Hi there 👋

yigger's most used languages yigger's github stats

jiezhang's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jiezhang's Issues

报错少组件

[Error] Missing files: @/utils/host in E:\SAE-微信\小程序\jiezhang-master\src\components\statement\form.wpy

await 无法同步

await 无法同步

    const thirdSession = await getOpenId()
    const result = await wepy.request({
      url: url,
      method: method,
      data: params,
      header: {
        'Content-Type': 'application/json',
        'X-WX-Skey': thirdSession,
        'X-WX-APP-ID': Host.appid,
        'X-WX-PAGES': pageRoutes.join(',')
      },
    })

实际运行没有等到获取 thirdSession ,直接调用 wepy.request

类似的:

    const wxLogin = await wepy.login()
    const data = await wepy.request({
      url: Host.check_openid,
      method: 'POST',
      params: { 'code': wxLogin.code}
    })

实际运行没有等到获取 wxLogin ,直接调用 wepy.request , wxLogin.code 为 null

Docker 报错~!~!(后端)

root@Unraid:/mnt/user/appdata/jiezhang-back-open/docker# docker build -t jz -f ./Dockerfile .
Sending build context to Docker daemon 19.46kB
Step 1/12 : From ruby:2.3.1
---> ffe8239a147c
Step 2/12 : ENV RAILS_ROOT /home/ljt
---> Running in ba7c2ab988b1
Removing intermediate container ba7c2ab988b1
---> 67c94f5a29d7
Step 3/12 : WORKDIR $RAILS_ROOT
---> Running in 3b49fd5fe860
Removing intermediate container 3b49fd5fe860
---> cec469b2a217
Step 4/12 : RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
---> Running in 5dde893e10c3
Removing intermediate container 5dde893e10c3
---> 98f42f082977
Step 5/12 : RUN apt-get update -qq && apt-get install -y build-essential vim nodejs npm python-setuptools python-docutils build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev vim python imagemagick libmagickcore-dev imagemagick-common libmagickwand-dev sudo ntpdate snmpd snmp libpng-dev libjpeg-dev rsync tk libpcre3-dev libmysqlclient-dev mysql-client autoconf automake gettext libpq-dev cmake redis-server
---> Running in 9155f9450e76

W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/InRelease

W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/InRelease

W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/Release.gpg Unable to connect to mirrors.163.com:http:

W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/Release.gpg Unable to connect to mirrors.163.com:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package rsync is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package build-essential
E: Unable to locate package vim
E: Unable to locate package nodejs
E: Unable to locate package npm
E: Unable to locate package python-setuptools
E: Unable to locate package python-docutils
E: Unable to locate package build-essential
E: Unable to locate package libgdbm-dev
E: Unable to locate package openssh-server
E: Unable to locate package checkinstall
E: Unable to locate package libicu-dev
E: Unable to locate package vim
E: Unable to locate package sudo
E: Unable to locate package ntpdate
E: Unable to locate package snmpd
E: Unable to locate package snmp
E: Package 'rsync' has no installation candidate
E: Unable to locate package tk
E: Unable to locate package mysql-client
E: Package 'gettext' has no installation candidate
E: Package 'cmake' has no installation candidate
E: Unable to locate package redis-server

创建数据库时报错,bundle exec rake db:create RAILS_ENV=development --trace

$ bundle exec rake db:create RAILS_ENV=development --trace
/var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: _1' is reserved for numbered parameter; consider another name /var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: _2' is reserved for numbered parameter; consider another name
/var/lib/gems/2.7.0/gems/mime-types-3.2.2/lib/mime/types/logger.rb:30: warning: _3' is reserved for numbered parameter; consider another name /var/lib/gems/2.7.0/gems/dry-configurable-0.8.2/lib/dry/configurable/settings/argument_parser.rb:41: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/dry-configurable-0.8.2/lib/dry/configurable/settings/argument_parser.rb:44: warning: The called method options' is defined here
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/any.rb:5: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/definition.rb:30: warning: The called method initialize' is defined here /var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/decorator.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/options.rb:8: warning: The called method initialize' is defined here
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/sum.rb:43: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/dry-types-0.14.0/lib/dry/types/options.rb:8: warning: The called method initialize' is defined here rake aborted! NoMethodError: undefined method new_ostruct_member' for #Config::Options
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:175:in method_missing' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:202:in block in __convert'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:200:in each' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:200:in __convert'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/options.rb:91:in reload!' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config.rb:49:in load_files'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config.rb:57:in load_and_set_settings' /var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/integrations/rails/railtie.rb:11:in preload'
/var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in public_send' /var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/railtie.rb:185:in method_missing'
/var/lib/gems/2.7.0/gems/config-1.7.1/lib/config/integrations/rails/railtie.rb:21:in block in <class:Railtie>' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:67:in block in execute_hook'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:60:in with_execution_control' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:65:in execute_hook'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:50:in block in run_load_hooks' /var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:49:in each'
/var/lib/gems/2.7.0/gems/activesupport-5.1.6.1/lib/active_support/lazy_load_hooks.rb:49:in run_load_hooks' /var/lib/gems/2.7.0/gems/railties-5.1.6.1/lib/rails/application.rb:91:in inherited'
/home/ubuntu/jiezhang-back-open/config/application.rb:11:in <module:JieZhang>' /home/ubuntu/jiezhang-back-open/config/application.rb:9:in <top (required)>'
/home/ubuntu/jiezhang-back-open/Rakefile:4:in require_relative' /home/ubuntu/jiezhang-back-open/Rakefile:4:in <top (required)>'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in load' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:703:in raw_load_rakefile' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:104:in block in load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:186:in standard_exception_handling' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:103:in load_rakefile'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:82:in block in run' /var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:186:in standard_exception_handling'
/var/lib/gems/2.7.0/gems/rake-12.3.2/lib/rake/application.rb:80:in run' /var/lib/gems/2.7.0/gems/rake-12.3.2/exe/rake:27:in <top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in

'

错误信息如上,请各位大佬看看是什么原因,谢谢!

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.