Giter Club home page Giter Club logo

plugins's Issues

无法移除麦克风的权限

这是我的appList,但依然无法移除麦克风的权限
const apiList = [
'getUserInfo', // 收集你的微信昵称、头像
'getUserProfile', // 收集你的微信昵称、头像
'authorize', // 收集你的位置信息, 访问你的麦克风
'getLocation', // 收集你的位置信息
'startLocationUpdateBackground', // 收集你的位置信息
'startLocationUpdate', // 收集你的位置信息
'choosePoi', // 收集你选择的位置信息
'chooseLocation', // 收集你选择的位置信息
'chooseAddress', // 收集你的地址
'startRecord', // 访问你的麦克风
'RecorderManager', // 访问你的麦克风
'joinVoIPChat', // 访问你的麦克风
'chooseMessageFile', // 收集你选中的文件
'getAvailableAudioSources',
'chooseLocation',
'getWeRunData',
'chooseInvoiceTitle',
'chooseInvoice',
'chooseImage',
'chooseMedia',
'chooseLicensePlate',
'openBluetoothAdapter',
'createBLEPeripheralServer',
'addPhoneContact',
'addPhoneRepeatCalendar',
'addPhoneCalender',
'saveFileToDisk',
]

使用linaria的styled包装remax标签报错

在使用linaria插件时,linaria的css函数可以正确编译,但是styled函数编译报错:
image

复现代码:

import { css } from 'linaria';
import { styled } from 'linaria/react';
import { RichText, showToast, Text, View } from 'remax/wechat';

const Title = styled(View)`
  padding: 10px 20px;
`;

const header = css`
  text-transform: uppercase;
  font-size: 12px;
`;

export default () => {
  return (
    <Title onClick={() => showToast({ title: 'sdasd' })}>
      <Text className={header}>NiuGuohui</Text>
      <Text>NiuGuohui</Text>
    </Title>
  );
};

使用plugin-less有警告

⚠️ chunk pages/addAddress/index~pages/address/index [mini-css-extract-plugin]
Conflicting order. Following module has been added:
 * css ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js!./src/components/iconFont/index.less
despite it was not able to fulfill desired ordering with these modules:
 * css ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-0-1!./node_modules/postcss-loader/src??ref--11-oneOf-0-2!./node_modules/less-loader/dist/cjs.js!./src/components/radio/index.module.less?modules
   - couldn't fulfill desired order of chunk group(s) pages/addAddress/index
   - while fulfilling desired order of chunk group(s) pages/address/index
 * css ./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-0-1!./node_modules/postcss-loader/src??ref--11-oneOf-0-2!./node_modules/less-loader/dist/cjs.js!./src/components/icon/index.module.less?modules
   - couldn't fulfill desired order of chunk group(s) pages/addAddress/index
   - while fulfilling desired order of chunk group(s) pages/address/index

image
影响了正常开发预览和打包

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.